public final class IgnoreVerifier extends org.xml.sax.helpers.DefaultHandler implements IslandVerifier
| Constructor and Description |
|---|
IgnoreVerifier(java.lang.String namespaceToIgnore,
ElementDecl[] assignedRules) |
| Modifier and Type | Method and Description |
|---|---|
void |
endChildIsland(java.lang.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(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic IgnoreVerifier(java.lang.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 void endChildIsland(java.lang.String uri,
ElementDecl[] assignedLabels)
IslandVerifierendChildIsland in interface IslandVerifieruri - namespace URI of the child island.public ElementDecl[] endIsland()
IslandVerifierendIsland in interface IslandVerifierpublic void setDispatcher(Dispatcher disp)
IslandVerifiersetDispatcher in interface IslandVerifierpublic void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException