- Javax.xml.bind classes
- Home
- Binder
- DatatypeConverter
- JAXB
- JAXBContext
- JAXBElement
- JAXBElement.GlobalScope
- JAXBIntrospector
- Marshaller.Listener
- SchemaOutputResolver
- Unmarshaller.Listener
- Javax.xml.bind.util classes
- JAXBResult
- JAXBSource
- ValidationEventCollector
- Javax.xml.parsers classes
- DocumentBuilder
- DocumentBuilderFactory
- SAXParser
- SAXParserFactory
- Javax.xml.soap classes
- AttachmentPart
- MessageFactory
- MimeHeader
- MimeHeaders
- SAAJMetaFactory
- SOAPConnection
- SOAPConnectionFactory
- SOAPFactory
- SOAPMessage
- SOAPPart
- Javax.xml.validation classes
- Schema
- SchemaFactory
- TypeInfoProvider
- Validator
- ValidatorHandler
- Javax.xml.xpath classes
- XPathConstants
- XPathFactory
- Java Useful Resources
- Java - Quick Guide
- Java - Useful Resources
Javax.xml.validation.ValidatorHandler Class
Introduction
The javax.xml.validation.ValidatorHandler class is a streaming validator that works on SAX stream.A ValidatorHandler object is not thread-safe and not reentrant.
Class declaration
Following is the declaration for javax.xml.validation.ValidatorHandler class:
public abstract class ValidatorHandler extends Object implements ContentHandler
Class constructors
S.N. | Constructor & Description |
---|---|
1 | protected ValidatorHandler()
This is the constructor for derived classes. |
Class methods
S.N. | Method & Description |
---|---|
1 |
abstract ContentHandler getContentHandler() This method gets the ContentHandler which receives the augmented validation result. |
2 |
abstract ErrorHandler getErrorHandler() This method gets the current ErrorHandler set to this ValidatorHandler. |
3 |
boolean getFeature(String name) This method look up the value of a feature flag. |
4 |
Object getProperty(String name) This method look up the value of a property. |
5 |
abstract LSResourceResolver getResourceResolver() This method gets the current LSResourceResolver set to this ValidatorHandler. |
6 |
abstract TypeInfoProvider getTypeInfoProvider() This method Obtains the TypeInfoProvider implementation of this ValidatorHandler. |
7 |
abstract void setContentHandler(ContentHandler receiver) This method sets the ContentHandler which receives the augmented validation result. |
8 |
abstract void setErrorHandler(ErrorHandler errorHandler) This method sets the ErrorHandler to receive errors encountered during the validation. |
9 |
void setFeature(String name, boolean value) This method sets a feature for this ValidatorHandler. |
10 |
void setProperty(String name, Object object) This method sets the value of a property. |
11 |
abstract void setResourceResolver(LSResourceResolver resourceResolver) This method sets the LSResourceResolver to customize resource resolution while in a validation episode. |
Methods inherited
This class inherits methods from the following classes −
java.lang.Object
To Continue Learning Please Login
Login with Google