com.sun.msv.relaxns.verifier
Class AnyOtherElementVerifier

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bycom.sun.msv.relaxns.verifier.AnyOtherElementVerifier
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler, org.iso_relax.dispatcher.IslandVerifier

public class AnyOtherElementVerifier
extends DefaultHandler
implements org.iso_relax.dispatcher.IslandVerifier

IslandVerifier that validates <anyOtherElement /> of RELAX.

Author:
Kohsuke KAWAGUCHI

Field Summary
static String ERR_UNEXPECTED_NAMESPACE
           
 
Constructor Summary
AnyOtherElementVerifier(AnyOtherElementExp[] exps)
           
 
Method Summary
 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
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
 

Field Detail

ERR_UNEXPECTED_NAMESPACE

public static final String ERR_UNEXPECTED_NAMESPACE
See Also:
Constant Field Values
Constructor Detail

AnyOtherElementVerifier

public AnyOtherElementVerifier(AnyOtherElementExp[] exps)
Method Detail

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

setDispatcher

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

setDocumentLocator

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

startElement

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


Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated April 28 2005.