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.Dispatcherstatic final Stringprivate final AnyOtherElementExp[]this Verifier validates these expressions.protected Locator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendChildIsland(String namespaceURI, org.iso_relax.dispatcher.ElementDecl[] rules) org.iso_relax.dispatcher.ElementDecl[]voidsetDispatcher(org.iso_relax.dispatcher.Dispatcher disp) voidvoidstartElement(String namespaceURI, String localName, String qName, Attributes atts) Methods inherited from class DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
setDispatcherin interfaceorg.iso_relax.dispatcher.IslandVerifier
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endChildIsland
- Specified by:
endChildIslandin interfaceorg.iso_relax.dispatcher.IslandVerifier
-
endIsland
public org.iso_relax.dispatcher.ElementDecl[] endIsland()- Specified by:
endIslandin interfaceorg.iso_relax.dispatcher.IslandVerifier
-
setDocumentLocator
- Specified by:
setDocumentLocatorin interfaceContentHandler- Overrides:
setDocumentLocatorin classDefaultHandler
-