Package org.codehaus.stax2.validation

Interface Summary
AttributeContainer Interface that is used to allow validators to do attribute defaulting.
DTDValidationSchema Specialized interface that covers schema features unique to DTDs.
Validatable Interface that defines API that Stax2 validation system exposes to the applications.
ValidationContext Interface that defines functionality exposed by the "owner" of the content to validate (usually a stream reader or stream writer) to validators, needed in addition to actually validatable content, for succesful validation.
ValidationProblemHandler This interface defines method(s) needed to implement a custom validation problem (warning, error, fatal error) handler.
XMLValidationSchema Defines the API that validator schema instances have to implement.
 

Class Summary
ValidatorPair Simple utility class that allows chaining of XMLValidator instances.
XMLValidationProblem Simple container class used to store validation problem (error), either to be returned as is, or to use for creating and throwing a validation exception.
XMLValidationSchemaFactory Defines an abstract factory for constructing XMLValidationSchema instances.
XMLValidator Class that defines interface that individual (possibly) stateful validator instances have to implement, and that both XMLStreamReader and XMLStreamWriter instances can call to validate xml documents.
 

Exception Summary
XMLValidationException Specialized sub-class of XMLStreamException, to be used for indicating fatal validation problems (when in mode in which exceptions are to be thrown).