Package com.sun.msv.relaxns.verifier
Class AnyOtherElementVerifier
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.sun.msv.relaxns.verifier.AnyOtherElementVerifier
-
- All Implemented Interfaces:
org.iso_relax.dispatcher.IslandVerifier
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class AnyOtherElementVerifier extends DefaultHandler implements org.iso_relax.dispatcher.IslandVerifier
IslandVerifier that validates <anyOtherElement /> of RELAX.- Author:
- Kohsuke KAWAGUCHI
-
-
Field Summary
Fields Modifier and Type Field Description protected org.iso_relax.dispatcher.Dispatcher
dispatcher
static String
ERR_UNEXPECTED_NAMESPACE
protected Locator
locator
-
Constructor Summary
Constructors Constructor Description AnyOtherElementVerifier(AnyOtherElementExp[] exps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endChildIsland(String namespaceURI, org.iso_relax.dispatcher.ElementDecl[] rules)
org.iso_relax.dispatcher.ElementDecl[]
endIsland()
void
setDispatcher(org.iso_relax.dispatcher.Dispatcher disp)
void
setDocumentLocator(Locator loc)
void
startElement(String namespaceURI, String localName, String qName, Attributes atts)
-
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
clone, equals, finalize, 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
-
-
-
-
Field Detail
-
dispatcher
protected org.iso_relax.dispatcher.Dispatcher dispatcher
-
locator
protected Locator locator
-
ERR_UNEXPECTED_NAMESPACE
public static final String ERR_UNEXPECTED_NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AnyOtherElementVerifier
public AnyOtherElementVerifier(AnyOtherElementExp[] exps)
-
-
Method Detail
-
setDispatcher
public void setDispatcher(org.iso_relax.dispatcher.Dispatcher disp)
- Specified by:
setDispatcher
in interfaceorg.iso_relax.dispatcher.IslandVerifier
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
endChildIsland
public void endChildIsland(String namespaceURI, org.iso_relax.dispatcher.ElementDecl[] rules)
- Specified by:
endChildIsland
in interfaceorg.iso_relax.dispatcher.IslandVerifier
-
endIsland
public org.iso_relax.dispatcher.ElementDecl[] endIsland()
- Specified by:
endIsland
in interfaceorg.iso_relax.dispatcher.IslandVerifier
-
setDocumentLocator
public void setDocumentLocator(Locator loc)
- Specified by:
setDocumentLocator
in interfaceContentHandler
- Overrides:
setDocumentLocator
in classDefaultHandler
-
-