|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dispatcher
splits incoming SAX events to "islands", and feed events to IslandVerifier.
Nested Class Summary | |
---|---|
static class |
Dispatcher.NotationDecl
|
static class |
Dispatcher.UnparsedEntityDecl
|
Method Summary | |
---|---|
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. |
Method Detail |
---|
void attachXMLReader(org.xml.sax.XMLReader reader)
int countNotationDecls()
int countUnparsedEntityDecls()
org.xml.sax.ErrorHandler getErrorHandler()
Dispatcher.NotationDecl getNotationDecl(int index)
SchemaProvider getSchemaProvider()
Dispatcher.UnparsedEntityDecl getUnparsedEntityDecl(int index)
void setErrorHandler(org.xml.sax.ErrorHandler handler)
void switchVerifier(IslandVerifier newVerifier) throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |