Package com.sun.msv.verifier

Contains abstract model for grammar-based schema and concrete verifier implementation for the abstract schema.

See:
          Description

Interface Summary
Acceptor exposes the low-level validation engine interface.
DocumentDeclaration Represents a kind of "constraint" over XML document.
IVerifier Interface of verifier.
 

Class Summary
AbstractVerifier Base implementation for various Verifier implementations.
ErrorInfo Instances of this class is attached to ValidityViolation to provide detailed information about the error.
ErrorInfo.BadAttribute Bad attribute.
ErrorInfo.BadTagName Bad tag name.
ErrorInfo.BadText Bad text.
ErrorInfo.ElementErrorInfo Base class for element related errors.
ErrorInfo.IncompleteContentModel This error occurs when MSV sees an end tag unexpectedly.
ErrorInfo.MissingAttribute Missing attribute.
Verifier SAX ContentHandler that verifies incoming SAX event stream.
VerifierFilter SAX XMLFilter that verifies incoming SAX event stream.
 

Exception Summary
ValidationUnrecoverableException Exception that signals error was fatal and recovery was not possible.
ValidityViolation Contains information about where and how validity violation was happened.
 

Package com.sun.msv.verifier Description

Contains abstract model for grammar-based schema and concrete verifier implementation for the abstract schema.

The model of the schema consists of two interfaces:

  1. DocumentDeclaration, which corresponds to constraints over XML documents
  2. ElementDeclaration, which corresponds to constraints over an XML element
  3. Acceptor, which verifies XML content against the content model

Note that these definitions capture schema from verifier's point of view. ???????????????????X?L?[?}???I?u?W?F?N?g???f?????A???????A???S???Y?????????????A?_?v?^?????????p???????????]???????BThese definitions are for the latter, not for the former.