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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.iso_relax.dispatcher.Dispatcher
static final String
private final AnyOtherElementExp[]
this Verifier validates these expressions.protected Locator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
endChildIsland
(String namespaceURI, org.iso_relax.dispatcher.ElementDecl[] rules) org.iso_relax.dispatcher.ElementDecl[]
void
setDispatcher
(org.iso_relax.dispatcher.Dispatcher disp) void
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 Details
-
exps
this Verifier validates these expressions. during validation, failed expression is removed. -
dispatcher
protected org.iso_relax.dispatcher.Dispatcher dispatcher -
locator
-
ERR_UNEXPECTED_NAMESPACE
- See Also:
-
-
Constructor Details
-
AnyOtherElementVerifier
-
-
Method Details
-
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
- 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
- Specified by:
setDocumentLocator
in interfaceContentHandler
- Overrides:
setDocumentLocator
in classDefaultHandler
-