Package com.sun.msv.verifier
Contains abstract model for grammar-based schema and concrete verifier implementation for the abstract schema.
The model of the schema consists of two interfaces:
-
DocumentDeclaration, which corresponds to constraints over XML documents
-
ElementDeclaration, which corresponds to constraints over an XML element
-
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.
-
Interface Summary Interface Description Acceptor exposes the low-level validation engine interface.DocumentDeclaration Represents a kind of "constraint" over XML document.IVerifier Interface of verifier. -
Class Summary Class Description AbstractVerifier Base implementation for various Verifier implementations.ErrorInfo Instances of this class is attached toValidityViolation
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 Exception Description ValidationUnrecoverableException Exception that signals error was fatal and recovery was not possible.ValidityViolation Contains information about where and how validity violation was happened.