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, warning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
public 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()
IslandVerifier
endIsland
in interface IslandVerifier
public void endChildIsland(String uri, ElementDecl[] assignedLabels)
IslandVerifier
endChildIsland
in interface IslandVerifier
uri
- namespace URI of the child island.public void setDispatcher(Dispatcher disp)
IslandVerifier
setDispatcher
in interface IslandVerifier
public void startElement(String namespaceURI, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException