javax.xml.validation

Class ValidatorHandler

public abstract class ValidatorHandler extends Object implements ContentHandler

A streaming validator that operates on a SAX event stream.

Since: 1.3

Constructor Summary
protected ValidatorHandler()
Method Summary
abstract ContentHandlergetContentHandler()
Returns the ContentHandler to receive PSVI SAX events.
abstract ErrorHandlergetErrorHandler()
booleangetFeature(String name)
ObjectgetProperty(String name)
abstract LSResourceResolvergetResourceResolver()
abstract TypeInfoProvidergetTypeInfoProvider()
abstract voidsetContentHandler(ContentHandler receiver)
Sets the ContentHandler to receive PSVI SAX events.
abstract voidsetErrorHandler(ErrorHandler errorHandler)
voidsetFeature(String name, boolean value)
voidsetProperty(String name, Object value)
abstract voidsetResourceResolver(LSResourceResolver resourceResolver)

Constructor Detail

ValidatorHandler

protected ValidatorHandler()

Method Detail

getContentHandler

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

getErrorHandler

public abstract ErrorHandler getErrorHandler()

getFeature

public boolean getFeature(String name)

getProperty

public Object getProperty(String name)

getResourceResolver

public abstract LSResourceResolver getResourceResolver()

getTypeInfoProvider

public abstract TypeInfoProvider getTypeInfoProvider()

setContentHandler

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

setErrorHandler

public abstract void setErrorHandler(ErrorHandler errorHandler)

setFeature

public void setFeature(String name, boolean value)

setProperty

public void setProperty(String name, Object value)

setResourceResolver

public abstract void setResourceResolver(LSResourceResolver resourceResolver)