public interface Parseable
This is either a RELAX NG schema in the XML format, or a RELAX NG schema in the compact syntax.
Modifier and Type | Method and Description |
---|---|
<P extends ParsedPattern> |
parse(SchemaBuilder<?,P,?,?,?,?> sb)
Parses this
Parseable object into a RELAX NG pattern. |
<P extends ParsedPattern> |
parseExternal(java.lang.String uri,
SchemaBuilder<?,P,?,?,?,?> 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. |
<P extends ParsedPattern> |
parseInclude(java.lang.String uri,
SchemaBuilder<?,P,?,?,?,?> f,
IncludedGrammar<P,?,?,?,?> g,
java.lang.String inheritedNs)
Called from
Include in response to
Include.endInclude(Parseable, String, String, Location, Annotations)
to parse the included grammar. |
<P extends ParsedPattern> P parse(SchemaBuilder<?,P,?,?,?,?> sb) throws BuildException, IllegalSchemaException
Parseable
object into a RELAX NG pattern.sb
- The builder of the schema object model. This object
dictates how the actual pattern is constructed.BuildException
IllegalSchemaException
<P extends ParsedPattern> P parseInclude(java.lang.String uri, SchemaBuilder<?,P,?,?,?,?> f, IncludedGrammar<P,?,?,?,?> g, java.lang.String inheritedNs) throws BuildException, IllegalSchemaException
Include
in response to
Include.endInclude(Parseable, String, String, Location, Annotations)
to parse the included grammar.g
- receives the events from the included grammar.BuildException
IllegalSchemaException
<P extends ParsedPattern> P parseExternal(java.lang.String uri, SchemaBuilder<?,P,?,?,?,?> f, Scope s, java.lang.String inheritedNs) throws BuildException, IllegalSchemaException
SchemaBuilder
in response to
SchemaBuilder.makeExternalRef(Parseable, String, String, Scope, Location, Annotations)
to parse the referenced grammar.f
- receives the events from the referenced grammar.BuildException
IllegalSchemaException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"