Class SAXParseable<P,NC,L,EA,CL extends CommentList<L>,A extends Annotations<L,EA,CL>>
- java.lang.Object
-
- com.thaiopensource.relaxng.parse.sax.SAXSubParser<P,NC,L,EA,CL,A>
-
- com.thaiopensource.relaxng.parse.sax.SAXParseable<P,NC,L,EA,CL,A>
-
- All Implemented Interfaces:
Parseable<P,NC,L,EA,CL,A>,SubParseable<P,NC,L,EA,CL,A>,SubParser<P,NC,L,EA,CL,A>
public class SAXParseable<P,NC,L,EA,CL extends CommentList<L>,A extends Annotations<L,EA,CL>> extends SAXSubParser<P,NC,L,EA,CL,A> implements SubParseable<P,NC,L,EA,CL,A>
-
-
Constructor Summary
Constructors Constructor Description SAXParseable(javax.xml.transform.sax.SAXSource source, SAXResolver resolver, org.xml.sax.ErrorHandler eh)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetUri()Pparse(SchemaBuilder<P,NC,L,EA,CL,A> schemaBuilder, Scope<P,L,EA,CL,A> scope)PparseAsInclude(SchemaBuilder<P,NC,L,EA,CL,A> schemaBuilder, IncludedGrammar<P,L,EA,CL,A> g)-
Methods inherited from class com.thaiopensource.relaxng.parse.sax.SAXSubParser
createSubParseable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.thaiopensource.relaxng.parse.SubParser
createSubParseable
-
-
-
-
Constructor Detail
-
SAXParseable
public SAXParseable(javax.xml.transform.sax.SAXSource source, SAXResolver resolver, org.xml.sax.ErrorHandler eh)- Parameters:
source- XMLReader must be non-nullresolver-eh-
-
-
Method Detail
-
parse
public P parse(SchemaBuilder<P,NC,L,EA,CL,A> schemaBuilder, Scope<P,L,EA,CL,A> scope) throws BuildException, IllegalSchemaException
- Specified by:
parsein interfaceParseable<P,NC,L,EA,CL extends CommentList<L>,A extends Annotations<L,EA,CL>>- Throws:
BuildExceptionIllegalSchemaException
-
parseAsInclude
public P parseAsInclude(SchemaBuilder<P,NC,L,EA,CL,A> schemaBuilder, IncludedGrammar<P,L,EA,CL,A> g) throws BuildException, IllegalSchemaException
- Specified by:
parseAsIncludein interfaceSubParseable<P,NC,L,EA,CL extends CommentList<L>,A extends Annotations<L,EA,CL>>- Throws:
BuildExceptionIllegalSchemaException
-
getUri
public java.lang.String getUri()
- Specified by:
getUriin interfaceSubParseable<P,NC,L,EA,CL extends CommentList<L>,A extends Annotations<L,EA,CL>>
-
-