API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.validation. Validator View Source
Author(s)
Kohsuke Kawaguchi
Since
1.5
Version
$Revision: 1.4 $, $Date: 2005/10/13 17:00:48 $
Serial
Hierarchy
 Object
      Validator
Implements
Subclasses
Description
publicabstract abstract class Validator
  A processor that checks an XML document against Schema.
See also:   
Constructors
protected Validator ()
  Constructor for derived classes.
Methods
Hide/Show inherited methods
publicabstract ErrorHandler getErrorHandler ()
  Gets the current ErrorHandler set to this Validator.
public boolean getFeature (String name) throws SAXNotRecognizedException SAXNotSupportedException
  Look up the value of a feature flag.
public Object getProperty (String name) throws SAXNotRecognizedException SAXNotSupportedException
  Look up the value of a property.
publicabstract LSResourceResolver getResourceResolver ()
  Gets the current LSResourceResolver set to this Validator.
publicabstract void reset ()
  Reset this Validator to its original configuration.
publicabstract void setErrorHandler (ErrorHandler errorHandler)
  Sets the ErrorHandler to receive errors encountered during the validate method invocation.
public void setFeature (String name, boolean value) throws SAXNotRecognizedException SAXNotSupportedException
  Set the value of a feature flag.
public void setProperty (String name, Object object) throws SAXNotRecognizedException SAXNotSupportedException
  Set the value of a property.
publicabstract void setResourceResolver (LSResourceResolver resourceResolver)
  Sets the LSResourceResolver to customize resource resolution while in a validation episode.
public void validate (Source source) throws SAXException IOException
  Validates the specified input.
publicabstract void validate (Source source, Result result) throws SAXException IOException
  Validates the specified input and send the augmented validation result to the specified output.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar