com.sun.msv.relaxns.verifier

Class AnyOtherElementVerifier

Implemented Interfaces:
IslandVerifier

public class AnyOtherElementVerifier
extends DefaultHandler
implements 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, ElementDecl[] rules)
ElementDecl[]
endIsland()
void
setDispatcher(Dispatcher disp)
void
setDocumentLocator(Locator loc)
void
startElement(String namespaceURI, String localName, String qName, Attributes atts)

Field Details

ERR_UNEXPECTED_NAMESPACE

public static final String ERR_UNEXPECTED_NAMESPACE

Constructor Details

AnyOtherElementVerifier

public AnyOtherElementVerifier(AnyOtherElementExp[] exps)

Method Details

endChildIsland

public void endChildIsland(String namespaceURI,
                           ElementDecl[] rules)

endIsland

public ElementDecl[] endIsland()

setDispatcher

public void setDispatcher(Dispatcher disp)

setDocumentLocator

public void setDocumentLocator(Locator loc)

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes atts)
            throws SAXException