javax.xml.validation
Class Validator
- java.lang.Object
- javax.xml.validation.Validator
public abstract class Validator
extends java.lang.Object
 A processor that validates a document against a schema.
- 1.3
Validator
protected Validator()
reset
public void reset()
 Reset this validator to its original state.
setErrorHandler
public void setErrorHandler(ErrorHandler errorHandler)
validate
public void validate(Source source)
            throws SAXException,
                   IOException Validate the specified input.
- source- the document to validate
validate
public void validate(Source source,
                     Result result)
            throws SAXException,
                   IOException Validate the specified input.
- source- the document to validate
- result- the PSVI document to output