| Modifier and Type | Class and Description |
|---|---|
private static class |
PatternParseable.Parser |
| Constructor and Description |
|---|
PatternParseable(DPattern p) |
| Modifier and Type | Method and Description |
|---|---|
ParsedPattern |
parse(SchemaBuilder sb)
Parses this
Parseable object into a RELAX NG pattern. |
ParsedPattern |
parseExternal(java.lang.String uri,
SchemaBuilder f,
Scope s,
java.lang.String inheritedNs)
Called from
SchemaBuilder in response to
SchemaBuilder.makeExternalRef(Parseable, String, String, Scope, Location, Annotations)
to parse the referenced grammar. |
ParsedPattern |
parseInclude(java.lang.String uri,
SchemaBuilder f,
IncludedGrammar g,
java.lang.String inheritedNs)
Called from
Include in response to
Include.endInclude(Parseable, String, String, Location, Annotations)
to parse the included grammar. |
private final DPattern pattern
public PatternParseable(DPattern p)
public ParsedPattern parse(SchemaBuilder sb) throws BuildException
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.BuildExceptionpublic ParsedPattern parseInclude(java.lang.String uri, SchemaBuilder f, IncludedGrammar g, java.lang.String inheritedNs) throws BuildException
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.BuildExceptionpublic ParsedPattern parseExternal(java.lang.String uri, SchemaBuilder f, Scope s, java.lang.String inheritedNs) throws BuildException
ParseableSchemaBuilder in response to
SchemaBuilder.makeExternalRef(Parseable, String, String, Scope, Location, Annotations)
to parse the referenced grammar.parseExternal in interface Parseablef - receives the events from the referenced grammar.BuildException