public final class IgnoreVerifier extends DefaultHandler implements IslandVerifier
| Constructor and Description |
|---|
IgnoreVerifier(String namespaceToIgnore,
ElementDecl[] assignedRules) |
| Modifier and Type | Method and Description |
|---|---|
void |
endChildIsland(String uri,
ElementDecl[] assignedLabels)
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 |
startElement(String namespaceURI,
String localName,
String qName,
Attributes attributes) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingpublic IgnoreVerifier(String namespaceToIgnore, ElementDecl[] assignedRules)
assignedRules - this Verifier is supposed to validate these rules.
since this IslandVerifier actually does nothing,
all these rules will be reported as satisfied
upon completion.public ElementDecl[] endIsland()
IslandVerifierendIsland in interface IslandVerifierpublic void endChildIsland(String uri, ElementDecl[] assignedLabels)
IslandVerifierendChildIsland in interface IslandVerifieruri - namespace URI of the child island.public void setDispatcher(Dispatcher disp)
IslandVerifiersetDispatcher in interface IslandVerifierpublic void startElement(String namespaceURI, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXException