public class DispatcherImpl extends java.lang.Object implements Dispatcher
Dispatcher.NotationDecl, Dispatcher.UnparsedEntityDecl| Constructor and Description |
|---|
DispatcherImpl(SchemaProvider schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
attachXMLReader(org.xml.sax.XMLReader reader)
configure XMLReader to use this Dispatcher as a ContentHandler.
|
int |
countNotationDecls()
counts notation declarations found in this XML instance.
|
int |
countUnparsedEntityDecls()
counts unparsed entities found in this XML instance.
|
org.xml.sax.ErrorHandler |
getErrorHandler()
gets ErrorHandler to which IslandVerifier reports validation errors.
|
Dispatcher.NotationDecl |
getNotationDecl(int index)
gets ith notation declaration found in this XML instance.
|
SchemaProvider |
getSchemaProvider()
get ShcmeaProvider object which is attached to this Dispatcher.
|
Dispatcher.UnparsedEntityDecl |
getUnparsedEntityDecl(int index)
gets ith unparsed entity found in this XML instance.
|
void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
sets application-implemented ErrorHandler, which will receive all validation
errors.
|
void |
switchVerifier(IslandVerifier newVerifier)
switches to the child IslandVerifier.
|
public DispatcherImpl(SchemaProvider schema)
public void attachXMLReader(org.xml.sax.XMLReader reader)
DispatcherattachXMLReader in interface Dispatcherpublic int countNotationDecls()
DispatchercountNotationDecls in interface Dispatcherpublic int countUnparsedEntityDecls()
DispatchercountUnparsedEntityDecls in interface Dispatcherpublic org.xml.sax.ErrorHandler getErrorHandler()
DispatchergetErrorHandler in interface Dispatcherpublic Dispatcher.NotationDecl getNotationDecl(int index)
DispatchergetNotationDecl in interface Dispatcherpublic SchemaProvider getSchemaProvider()
DispatchergetSchemaProvider in interface Dispatcherpublic Dispatcher.UnparsedEntityDecl getUnparsedEntityDecl(int index)
DispatchergetUnparsedEntityDecl in interface Dispatcherpublic void setErrorHandler(org.xml.sax.ErrorHandler handler)
DispatchersetErrorHandler in interface Dispatcherpublic void switchVerifier(IslandVerifier newVerifier) throws org.xml.sax.SAXException
DispatcherswitchVerifier in interface Dispatcherorg.xml.sax.SAXException