javax.xml.validation

Class ValidatorHandler

Implemented Interfaces:
ContentHandler

public abstract class ValidatorHandler
extends java.lang.Object
implements ContentHandler

A streaming validator that operates on a SAX event stream.

Since:
1.3

Constructor Summary

ValidatorHandler()

Method Summary

ContentHandler
getContentHandler()
Returns the ContentHandler to receive PSVI SAX events.
ErrorHandler
getErrorHandler()
boolean
getFeature(String name)
Object
getProperty(String name)
LSResourceResolver
getResourceResolver()
TypeInfoProvider
getTypeInfoProvider()
void
setContentHandler(ContentHandler receiver)
Sets the ContentHandler to receive PSVI SAX events.
void
setErrorHandler(ErrorHandler errorHandler)
void
setFeature(String name, boolean value)
void
setProperty(String name, Object value)
void
setResourceResolver(LSResourceResolver resourceResolver)

Constructor Details

ValidatorHandler

protected ValidatorHandler()

Method Details

getContentHandler

public ContentHandler getContentHandler()
Returns the ContentHandler to receive PSVI SAX events.


getErrorHandler

public ErrorHandler getErrorHandler()


getFeature

public boolean getFeature(String name)
            throws SAXNotRecognizedException,
                   SAXNotSupportedException


getProperty

public Object getProperty(String name)
            throws SAXNotRecognizedException,
                   SAXNotSupportedException


getResourceResolver

public LSResourceResolver getResourceResolver()


getTypeInfoProvider

public TypeInfoProvider getTypeInfoProvider()


setContentHandler

public void setContentHandler(ContentHandler receiver)
Sets the ContentHandler to receive PSVI SAX events.


setErrorHandler

public void setErrorHandler(ErrorHandler errorHandler)


setFeature

public void setFeature(String name,
                       boolean value)
            throws SAXNotRecognizedException,
                   SAXNotSupportedException


setProperty

public void setProperty(String name,
                        Object value)
            throws SAXNotRecognizedException,
                   SAXNotSupportedException


setResourceResolver

public void setResourceResolver(LSResourceResolver resourceResolver)