org.iso_relax.dispatcher.impl

Class IgnoreVerifier

Implemented Interfaces:
ContentHandler, IslandVerifier

public final class IgnoreVerifier
extends DefaultHandler
implements IslandVerifier

ignores namespaces which have no associated grammar.
Author:
Kohsuke KAWAGUCHI

Constructor Summary

IgnoreVerifier(String namespaceToIgnore, ElementDecl[] assignedRules)

Method Summary

void
endChildIsland(String uri, ElementDecl[] assignedLabels)
ElementDecl[]
endIsland()
void
setDispatcher(Dispatcher disp)
void
startElement(String namespaceURI, String localName, String qName, Attributes attributes)

Constructor Details

IgnoreVerifier

public IgnoreVerifier(String namespaceToIgnore,
                      ElementDecl[] assignedRules)
Parameters:
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.

Method Details

endChildIsland

public void endChildIsland(String uri,
                           ElementDecl[] assignedLabels)

endIsland

public ElementDecl[] endIsland()
Specified by:
endIsland in interface IslandVerifier

setDispatcher

public void setDispatcher(Dispatcher disp)
Specified by:
setDispatcher in interface IslandVerifier

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes attributes)
            throws SAXException