| Constructor and Description |
|---|
CompactParseable(InputSource in,
ErrorHandler eh) |
| Modifier and Type | Method and Description |
|---|---|
ParsedPattern |
parse(SchemaBuilder sb)
Parses this
Parseable object into a RELAX NG pattern. |
ParsedPattern |
parseExternal(String uri,
SchemaBuilder sb,
Scope scope,
String inheritedNs)
Called from
SchemaBuilder in response to
SchemaBuilder.makeExternalRef(Parseable, String, String, Scope, Location, Annotations)
to parse the referenced grammar. |
ParsedPattern |
parseInclude(String uri,
SchemaBuilder sb,
IncludedGrammar g,
String inheritedNs)
Called from
Include in response to
Include.endInclude(Parseable, String, String, Location, Annotations)
to parse the included grammar. |
public CompactParseable(InputSource in, ErrorHandler eh)
public ParsedPattern parse(SchemaBuilder sb) throws BuildException, IllegalSchemaException
ParseableParseable object into a RELAX NG pattern.parse in interface Parseablesb - The builder of the schema object model. This object
dictates how the actual pattern is constructed.BuildExceptionIllegalSchemaExceptionpublic ParsedPattern parseInclude(String uri, SchemaBuilder sb, IncludedGrammar g, String inheritedNs) throws BuildException, IllegalSchemaException
ParseableInclude in response to
Include.endInclude(Parseable, String, String, Location, Annotations)
to parse the included grammar.parseInclude in interface Parseableg - receives the events from the included grammar.BuildExceptionIllegalSchemaExceptionpublic ParsedPattern parseExternal(String uri, SchemaBuilder sb, Scope scope, String inheritedNs) throws BuildException, IllegalSchemaException
ParseableSchemaBuilder in response to
SchemaBuilder.makeExternalRef(Parseable, String, String, Scope, Location, Annotations)
to parse the referenced grammar.parseExternal in interface Parseablesb - receives the events from the referenced grammar.BuildExceptionIllegalSchemaExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.