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.
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. 検証に対して中立なスキーマのオブジェクトモデルと、検証のアルゴリズムに特化したアダプタとは別に用意するのが望ましい。These definitions are for the latter, not for the former.