|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.rngom.parse.xml.SAXParseable
public class SAXParseable
RELAX NG schema in the XML syntax.
Constructor Summary | |
---|---|
SAXParseable(org.xml.sax.InputSource in,
org.xml.sax.ErrorHandler eh)
|
|
SAXParseable(org.xml.sax.InputSource in,
org.xml.sax.ErrorHandler eh,
XMLReaderCreator xrc)
|
Method Summary | |
---|---|
ParsedPattern |
parse(SchemaBuilder schemaBuilder)
Parses this Parseable object into a RELAX NG pattern. |
ParsedPattern |
parseExternal(java.lang.String uri,
SchemaBuilder schemaBuilder,
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 schemaBuilder,
IncludedGrammar g,
java.lang.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 SAXParseable(org.xml.sax.InputSource in, org.xml.sax.ErrorHandler eh, XMLReaderCreator xrc)
public SAXParseable(org.xml.sax.InputSource in, org.xml.sax.ErrorHandler eh)
Method Detail |
---|
public ParsedPattern parse(SchemaBuilder schemaBuilder) throws BuildException, IllegalSchemaException
Parseable
Parseable
object into a RELAX NG pattern.
parse
in interface Parseable
schemaBuilder
- The builder of the schema object model. This object
dictates how the actual pattern is constructed.
BuildException
IllegalSchemaException
public ParsedPattern parseInclude(java.lang.String uri, SchemaBuilder schemaBuilder, IncludedGrammar g, java.lang.String inheritedNs) throws BuildException, IllegalSchemaException
Parseable
Include
in response to
Include.endInclude(Parseable, String, String, Location, Annotations)
to parse the included grammar.
parseInclude
in interface Parseable
g
- receives the events from the included grammar.
BuildException
IllegalSchemaException
public ParsedPattern parseExternal(java.lang.String uri, SchemaBuilder schemaBuilder, Scope s, java.lang.String inheritedNs) throws BuildException, IllegalSchemaException
Parseable
SchemaBuilder
in response to
SchemaBuilder.makeExternalRef(Parseable, String, String, Scope, Location, Annotations)
to parse the referenced grammar.
parseExternal
in interface Parseable
schemaBuilder
- 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 |