public interface Dispatcher
| Modifier and Type | Interface and Description |
|---|---|
static class |
Dispatcher.NotationDecl |
static class |
Dispatcher.UnparsedEntityDecl |
| Modifier and Type | Method and Description |
|---|---|
void |
attachXMLReader(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.
|
ErrorHandler |
getErrorHandler()
gets ErrorHandler to which IslandVerifier reports validation errors. the
caller may not assume that this method returns the same object that was
passed to setErrorHandler method. this method cannot return null.
|
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(ErrorHandler handler)
sets application-implemented ErrorHandler, which will receive all
validation errors.
|
void |
switchVerifier(IslandVerifier newVerifier)
switches to the child IslandVerifier. this method can only be called during
startElement method.
|
void attachXMLReader(XMLReader reader)
void switchVerifier(IslandVerifier newVerifier) throws SAXException
SAXExceptionvoid setErrorHandler(ErrorHandler handler)
ErrorHandler getErrorHandler()
SchemaProvider getSchemaProvider()
int countNotationDecls()
Dispatcher.NotationDecl getNotationDecl(int index)
int countUnparsedEntityDecls()
Dispatcher.UnparsedEntityDecl getUnparsedEntityDecl(int index)
Copyright © 2016 Philip Helger. All rights reserved.