com.thaiopensource.relaxng.parse.sax
Class SAXSubParser
java.lang.Object
com.thaiopensource.relaxng.parse.sax.SAXSubParser
- All Implemented Interfaces:
- SubParser
- Direct Known Subclasses:
- SAXParseable, SAXParseReceiver
public class SAXSubParser
- extends Object
- implements SubParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xrc
final XMLReaderCreator xrc
eh
final ErrorHandler eh
er
final EntityResolver er
SAXSubParser
SAXSubParser(XMLReaderCreator xrc,
ErrorHandler eh,
EntityResolver er)
parseInclude
public ParsedPattern parseInclude(String uri,
SchemaBuilder schemaBuilder,
IncludedGrammar g)
throws BuildException,
IllegalSchemaException
- Specified by:
parseInclude
in interface SubParser
- Throws:
BuildException
IllegalSchemaException
parseExternal
public ParsedPattern parseExternal(String uri,
SchemaBuilder schemaBuilder,
Scope s)
throws BuildException,
IllegalSchemaException
- Specified by:
parseExternal
in interface SubParser
- Throws:
BuildException
IllegalSchemaException
makeInputSource
private static InputSource makeInputSource(XMLReader xr,
String systemId)
throws IOException,
SAXException
- Throws:
IOException
SAXException
toBuildException
static BuildException toBuildException(SAXException e)