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 Details

    • exps

      private final AnyOtherElementExp[] exps
      this Verifier validates these expressions. during validation, failed expression is removed.
    • dispatcher

      protected org.iso_relax.dispatcher.Dispatcher dispatcher
    • locator

      protected Locator locator
    • ERR_UNEXPECTED_NAMESPACE

      public static final String ERR_UNEXPECTED_NAMESPACE
      See Also:
  • Constructor Details

  • Method Details

    • setDispatcher

      public void setDispatcher(org.iso_relax.dispatcher.Dispatcher disp)
      Specified by:
      setDispatcher in interface org.iso_relax.dispatcher.IslandVerifier
    • startElement

      public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
      Specified by:
      startElement in interface ContentHandler
      Overrides:
      startElement in class DefaultHandler
      Throws:
      SAXException
    • endChildIsland

      public void endChildIsland(String namespaceURI, org.iso_relax.dispatcher.ElementDecl[] rules)
      Specified by:
      endChildIsland in interface org.iso_relax.dispatcher.IslandVerifier
    • endIsland

      public org.iso_relax.dispatcher.ElementDecl[] endIsland()
      Specified by:
      endIsland in interface org.iso_relax.dispatcher.IslandVerifier
    • setDocumentLocator

      public void setDocumentLocator(Locator loc)
      Specified by:
      setDocumentLocator in interface ContentHandler
      Overrides:
      setDocumentLocator in class DefaultHandler