com.thaiopensource.relaxng.parse.compact
Class CompactParseable
java.lang.Object
com.thaiopensource.relaxng.parse.compact.CompactParseable
- All Implemented Interfaces:
- Parseable, SubParser
public class CompactParseable
- extends Object
- implements Parseable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
private final InputSource in
eh
private final ErrorHandler eh
er
private final EntityResolver er
UTF8
private static final String UTF8
UTF16
private static final String UTF16
CompactParseable
public CompactParseable(InputSource in,
ErrorHandler eh,
EntityResolver er)
parse
public ParsedPattern parse(SchemaBuilder sb,
Scope scope)
throws BuildException,
IllegalSchemaException
- Specified by:
parse
in interface Parseable
- Throws:
BuildException
IllegalSchemaException
parseInclude
public ParsedPattern parseInclude(String uri,
SchemaBuilder sb,
IncludedGrammar g)
throws BuildException,
IllegalSchemaException
- Specified by:
parseInclude
in interface SubParser
- Throws:
BuildException
IllegalSchemaException
parseExternal
public ParsedPattern parseExternal(String uri,
SchemaBuilder sb,
Scope scope)
throws BuildException,
IllegalSchemaException
- Specified by:
parseExternal
in interface SubParser
- Throws:
BuildException
IllegalSchemaException
makeReader
private static Reader makeReader(InputSource is,
EntityResolver er)
throws BuildException
- Throws:
BuildException
detectEncoding
private static String detectEncoding(PushbackInputStream in)
throws IOException
- Throws:
IOException