javax.xml.validation
public abstract class Validator extends Object
Since: 1.3
Constructor Summary | |
---|---|
protected | Validator() |
Method Summary | |
---|---|
abstract ErrorHandler | getErrorHandler() |
boolean | getFeature(String name) |
Object | getProperty(String name) |
abstract LSResourceResolver | getResourceResolver() |
abstract void | reset()
Reset this validator to its original state. |
abstract void | setErrorHandler(ErrorHandler errorHandler) |
void | setFeature(String name, boolean value) |
void | setProperty(String name, Object value) |
abstract void | setResourceResolver(LSResourceResolver resourceResolver) |
void | validate(Source source)
Validate the specified input. |
abstract void | validate(Source source, Result result)
Validate the specified input. |
Parameters: source the document to validate
Parameters: source the document to validate result the PSVI document to output