com.sun.msv.relaxns.verifier
Class AnyOtherElementVerifier
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.sun.msv.relaxns.verifier.AnyOtherElementVerifier
- All Implemented Interfaces:
- IslandVerifier, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
public class AnyOtherElementVerifier
- extends org.xml.sax.helpers.DefaultHandler
- implements IslandVerifier
IslandVerifier that validates <anyOtherElement /> of RELAX.
- Author:
- Kohsuke KAWAGUCHI
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, skippedEntity, startDocument, startPrefixMapping |
ERR_UNEXPECTED_NAMESPACE
public static final java.lang.String ERR_UNEXPECTED_NAMESPACE
- See Also:
- Constant Field Values
AnyOtherElementVerifier
public AnyOtherElementVerifier(AnyOtherElementExp[] exps)
setDispatcher
public void setDispatcher(Dispatcher disp)
- Specified by:
setDispatcher
in interface IslandVerifier
startElement
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
- Specified by:
startElement
in interface org.xml.sax.ContentHandler
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
endChildIsland
public void endChildIsland(java.lang.String namespaceURI,
ElementDecl[] rules)
- Specified by:
endChildIsland
in interface IslandVerifier
endIsland
public ElementDecl[] endIsland()
- Specified by:
endIsland
in interface IslandVerifier
setDocumentLocator
public void setDocumentLocator(org.xml.sax.Locator loc)
- Specified by:
setDocumentLocator
in interface org.xml.sax.ContentHandler
- Overrides:
setDocumentLocator
in class org.xml.sax.helpers.DefaultHandler