javax.xml.validation
Class ValidatorHandler
java.lang.Object
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
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 |
ValidatorHandler
protected ValidatorHandler()
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