Top Interfaces Classes
[default module]

Package org.codehaus.stax2.validation


Interface Summary

Modifier and TypeInterface and Description
public interface
AttributeContainer

Interface that is used to allow validators to do attribute defaulting.

public interface
DTDValidationSchema

Specialized interface that covers schema features unique to DTDs.

public interface
Validatable

Interface that defines API that Stax2 validation system exposes to the applications.

public interface
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.

public interface
ValidationProblemHandler

This interface defines method(s) needed to implement a custom validation problem (warning, error, fatal error) handler.

public interface
XMLValidationSchema

Defines the API that validator schema instances have to implement.

Class Summary

Modifier and TypeClass and Description
public class
ValidatorPair

Simple utility class that allows chaining of XMLValidator instances.

public class
XMLValidationException

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

public class
XMLValidationProblem

Simple container class used to store a non-fatal problem either to be returned as is, or to use for creating and throwing a validation exception.

public abstract class
XMLValidationSchemaFactory

Defines an abstract factory for constructing XMLValidationSchema instances.

public abstract class
XMLValidator

Class that defines interface that individual (possibly) stateful validator instances have to implement, and that both javax.xml.stream.XMLStreamReader and javax.xml.stream.XMLStreamWriter instances can call to validate xml documents.