Class CompactParseable
java.lang.Object
com.sun.tools.rngom.parse.compact.CompactParseable
- All Implemented Interfaces:
Parseable
RELAX NG schema in the compact syntax.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(SchemaBuilder sb) Parses this object into a RELAX NG pattern.parseExternal
(String uri, SchemaBuilder sb, Scope scope, String inheritedNs) Called fromSchemaBuilder
in response toSchemaBuilder.makeExternalRef(Parseable, String, String, Scope, Location, Annotations)
to parse the referenced grammar.parseInclude
(String uri, SchemaBuilder sb, IncludedGrammar g, String inheritedNs) Called fromInclude
in response toInclude.endInclude(Parseable, String, String, Location, Annotations)
to parse the included grammar.
-
Constructor Details
-
CompactParseable
-
-
Method Details
-
parse
Description copied from interface:Parseable
Parses this object into a RELAX NG pattern.- Specified by:
parse
in interfaceParseable
- Parameters:
sb
- The builder of the schema object model. This object dictates how the actual pattern is constructed.- Returns:
- a parsed object. Always returns a non-null valid object.
- Throws:
BuildException
IllegalSchemaException
-
parseInclude
public ParsedPattern parseInclude(String uri, SchemaBuilder sb, IncludedGrammar g, String inheritedNs) throws BuildException, IllegalSchemaException Description copied from interface:Parseable
Called fromInclude
in response toInclude.endInclude(Parseable, String, String, Location, Annotations)
to parse the included grammar.- Specified by:
parseInclude
in interfaceParseable
g
- receives the events from the included grammar.- Throws:
BuildException
IllegalSchemaException
-
parseExternal
public ParsedPattern parseExternal(String uri, SchemaBuilder sb, Scope scope, String inheritedNs) throws BuildException, IllegalSchemaException Description copied from interface:Parseable
Called fromSchemaBuilder
in response toSchemaBuilder.makeExternalRef(Parseable, String, String, Scope, Location, Annotations)
to parse the referenced grammar.- Specified by:
parseExternal
in interfaceParseable
sb
- receives the events from the referenced grammar.- Throws:
BuildException
IllegalSchemaException
-