javax.xml.validation
Class ValidatorHandler

java.lang.Object
  extended by javax.xml.validation.ValidatorHandler
All Implemented Interfaces:
ContentHandler

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  ContentHandler getContentHandler()
          Returns the ContentHandler to receive PSVI SAX events.
abstract  ErrorHandler getErrorHandler()
           
 boolean getFeature(String name)
           
 Object getProperty(String name)
           
abstract  LSResourceResolver getResourceResolver()
           
abstract  TypeInfoProvider getTypeInfoProvider()
           
abstract  void setContentHandler(ContentHandler receiver)
          Sets the ContentHandler to receive PSVI SAX events.
abstract  void setErrorHandler(ErrorHandler errorHandler)
           
 void setFeature(String name, boolean value)
           
 void setProperty(String name, Object value)
           
abstract  void setResourceResolver(LSResourceResolver resourceResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Constructor Detail

ValidatorHandler

protected ValidatorHandler()
Method Detail

setContentHandler

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


getContentHandler

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


setErrorHandler

public abstract void setErrorHandler(ErrorHandler errorHandler)

getErrorHandler

public abstract ErrorHandler getErrorHandler()

setResourceResolver

public abstract void setResourceResolver(LSResourceResolver resourceResolver)

getResourceResolver

public abstract LSResourceResolver getResourceResolver()

getTypeInfoProvider

public abstract TypeInfoProvider getTypeInfoProvider()

getFeature

public boolean getFeature(String name)
                   throws SAXNotRecognizedException,
                          SAXNotSupportedException
Throws:
SAXNotRecognizedException
SAXNotSupportedException

setFeature

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

getProperty

public Object getProperty(String name)
                   throws SAXNotRecognizedException,
                          SAXNotSupportedException
Throws:
SAXNotRecognizedException
SAXNotSupportedException

setProperty

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