org.iso_relax.dispatcher
Interface IslandVerifier
- ContentHandler
- IgnoreVerifier
public interface IslandVerifier
extends ContentHandler
Interface for verifier that validates one island.
void | endChildIsland(String uri, assignedDecls[] ) - 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.
|
endChildIsland
public void endChildIsland(String uri,
assignedDecls[] )
throws SAXException
this method is called after verification of the child island
is completed, instead of endElement method.
uri
- namespace URI of the child island.
endIsland
public ElementDecl[] endIsland()
throws SAXException
substitute for endDocument event.
This method is called after endElement method is called
for the top element in the island.
endDocument method is never called for IslandVerifier.
- the callee must return all validated ElementDecls.
If every candidate fails, return an empty array.
It is the callee's responsibility
to report an error. The callee may also recover from error.
Never return null.
setDispatcher
public void setDispatcher(Dispatcher disp)
Dispatcher passes itself to IslandVerifier by calling this method
from Dispatcher.switchVerifier method.