| org.kohsuke.rngom.parse.Parseable
All known Subclasses: org.kohsuke.rngom.parse.xml.SAXParseable, org.kohsuke.rngom.digested.PatternParseable, org.kohsuke.rngom.parse.compact.CompactParseable,
Parseable | public interface Parseable (Code) | | An input that can be turned into a RELAX NG pattern.
This is either a RELAX NG schema in the XML format, or a RELAX NG
schema in the compact syntax.
|
Method Summary | |
P | parse(SchemaBuilder<?, P, ?, ?, ?, ?> sb) Parses this
Parseable object into a RELAX NG pattern.
Parameters: sb - The builder of the schema object model. | P | parseExternal(String uri, SchemaBuilder<?, P, ?, ?, ?, ?> f, Scope s, String inheritedNs) Called from
SchemaBuilder in response to
SchemaBuilder.makeExternalRef(ParseableStringStringScopeLocationAnnotations) to parse the referenced grammar. | P | parseInclude(String uri, SchemaBuilder<?, P, ?, ?, ?, ?> f, IncludedGrammar<P, ?, ?, ?, ?> g, String inheritedNs) Called from
Include in response to
Include.endInclude(ParseableStringStringLocationAnnotations) to parse the included grammar. |
parse | P parse(SchemaBuilder<?, P, ?, ?, ?, ?> sb) throws BuildException, IllegalSchemaException(Code) | | Parses this
Parseable object into a RELAX NG pattern.
Parameters: sb - The builder of the schema object model. This objectdictates how the actual pattern is constructed.a parsed object. Always returns a non-null valid object. |
parseInclude | P parseInclude(String uri, SchemaBuilder<?, P, ?, ?, ?, ?> f, IncludedGrammar<P, ?, ?, ?, ?> g, String inheritedNs) throws BuildException, IllegalSchemaException(Code) | | Called from
Include in response to
Include.endInclude(ParseableStringStringLocationAnnotations) to parse the included grammar.
Parameters: g - receives the events from the included grammar. |
|
|