public class AnyOtherElementVerifier extends DefaultHandler implements IslandVerifier
| Modifier and Type | Field and Description |
|---|---|
protected Dispatcher |
dispatcher |
static String |
ERR_UNEXPECTED_NAMESPACE |
protected Locator |
locator |
| Constructor and Description |
|---|
AnyOtherElementVerifier(AnyOtherElementExp[] exps) |
| Modifier and Type | Method and Description |
|---|---|
void |
endChildIsland(String namespaceURI,
ElementDecl[] rules)
this method is called after verification of the child island
is completed, instead of endElement method.
|
ElementDecl[] |
endIsland()
substitute for endDocument event.
|
void |
setDispatcher(Dispatcher disp)
Dispatcher passes itself to IslandVerifier by calling this method
from Dispatcher.switchVerifier method.
|
void |
setDocumentLocator(Locator loc) |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startPrefixMappingprotected Dispatcher dispatcher
protected Locator locator
public static final String ERR_UNEXPECTED_NAMESPACE
public AnyOtherElementVerifier(AnyOtherElementExp[] exps)
public void setDispatcher(Dispatcher disp)
IslandVerifiersetDispatcher in interface IslandVerifierpublic void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endChildIsland(String namespaceURI, ElementDecl[] rules)
IslandVerifierendChildIsland in interface IslandVerifiernamespaceURI - namespace URI of the child island.public ElementDecl[] endIsland()
IslandVerifierendIsland in interface IslandVerifierpublic void setDocumentLocator(Locator loc)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class DefaultHandlerCopyright © 2017 Oracle Corporation. All rights reserved.