|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.iso_relax.dispatcher.impl.DispatcherImpl
reference implementation of Dispatcher interface.
Nested Class Summary | |
protected static class |
DispatcherImpl.Context
|
Nested classes inherited from class org.iso_relax.dispatcher.Dispatcher |
Dispatcher.NotationDecl, Dispatcher.UnparsedEntityDecl |
Field Summary | |
protected DispatcherImpl.Context |
contextStack
|
protected Locator |
documentLocator
|
protected ErrorHandler |
errorHandler
|
protected java.util.Vector |
notationDecls
|
protected NamespaceSupport |
nsMap
|
protected SchemaProvider |
schema
Dispatcher will consult this object about schema information |
protected org.iso_relax.dispatcher.impl.DispatcherImpl.Transponder |
transponder
this object passes SAX events to IslandVerifier. |
protected java.util.Vector |
unparsedEntityDecls
|
Constructor Summary | |
DispatcherImpl(SchemaProvider schema)
|
Method Summary | |
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. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Locator documentLocator
protected final NamespaceSupport nsMap
protected ErrorHandler errorHandler
protected final SchemaProvider schema
protected org.iso_relax.dispatcher.impl.DispatcherImpl.Transponder transponder
protected DispatcherImpl.Context contextStack
protected final java.util.Vector unparsedEntityDecls
protected final java.util.Vector notationDecls
Constructor Detail |
public DispatcherImpl(SchemaProvider schema)
Method Detail |
public SchemaProvider getSchemaProvider()
Dispatcher
getSchemaProvider
in interface Dispatcher
public void attachXMLReader(XMLReader reader)
Dispatcher
attachXMLReader
in interface Dispatcher
public void switchVerifier(IslandVerifier newVerifier) throws SAXException
Dispatcher
switchVerifier
in interface Dispatcher
SAXException
public void setErrorHandler(ErrorHandler handler)
Dispatcher
setErrorHandler
in interface Dispatcher
public ErrorHandler getErrorHandler()
Dispatcher
getErrorHandler
in interface Dispatcher
public int countUnparsedEntityDecls()
Dispatcher
countUnparsedEntityDecls
in interface Dispatcher
public Dispatcher.UnparsedEntityDecl getUnparsedEntityDecl(int index)
Dispatcher
getUnparsedEntityDecl
in interface Dispatcher
public int countNotationDecls()
Dispatcher
countNotationDecls
in interface Dispatcher
public Dispatcher.NotationDecl getNotationDecl(int index)
Dispatcher
getNotationDecl
in interface Dispatcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |