|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kohsuke.rngom.parse.compact.CompactParseable
public class CompactParseable
RELAX NG schema in the compact syntax.
| Constructor Summary | |
|---|---|
CompactParseable(InputSource in,
ErrorHandler eh)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompactParseable(InputSource in,
ErrorHandler eh)
| Method Detail |
|---|
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.
BuildException
IllegalSchemaException
public 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.
BuildException
IllegalSchemaException
public 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.
BuildException
IllegalSchemaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||