This document is for advanced developers. Everyone should first consult developer.html for a general guideline.
See: Description
Packages | |
---|---|
com.sun.msv.driver.textui |
Command line verifier. |
com.sun.msv.grammar |
abstract grammar model(AGM): common part. |
com.sun.msv.grammar.dtd | |
com.sun.msv.grammar.relax | abstract grammar model(AGM): RELAX stub. |
com.sun.msv.grammar.relaxng | |
com.sun.msv.grammar.relaxng.datatype |
RELAX NG built-in datatype implementation. |
com.sun.msv.grammar.trex |
abstract grammar model (AGM): TREX extension and TREX stub. This model acts as the in-memory representation of TREX grammar. |
com.sun.msv.grammar.trex.typed |
Abstract grammar model (AGM): TREX label-annotated stub. |
com.sun.msv.grammar.util |
Miscellaneous utility classes. |
com.sun.msv.grammar.xmlschema | W3C XML Schema grammar model. |
com.sun.msv.reader |
reads XML representation of grammar and creates AGM. |
com.sun.msv.reader.datatype |
interface of Datatype vocabulary reader. |
com.sun.msv.reader.datatype.xsd |
reads XML representation for XML Schema Part.2 |
com.sun.msv.reader.dtd |
reads DTD and constructs AGM. |
com.sun.msv.reader.relax |
common parts for parseing RELAX Core/Namespace into AGM. |
com.sun.msv.reader.relax.core |
parses RELAX Core into AGM. |
com.sun.msv.reader.relax.core.checker |
Non-essential schema conformance checks. This packages contains various check against grammar/module, which is mandated by RELAX specification. |
com.sun.msv.reader.trex |
shared code between RELAX NG reader and TREX reader. |
com.sun.msv.reader.trex.classic |
parses TREX pattern into AGM. |
com.sun.msv.reader.trex.ng |
parses RELAX NG into AGM. |
com.sun.msv.reader.trex.ng.comp |
parses RELAX NG with DTD compatibility annotation into AGM. |
com.sun.msv.reader.trex.typed |
reads TREX grammar with "label annotation". "label annotation" is a proprietary extension to TREX by MSV. How it worksWith this extension, <element> pattern in TREX pattern can have "label" attribute in http://www.sun.com/xml/msv/trex-type namespace. <grammar xmlns:ext="http://www.sun.com/xml/msv/trex-type"> Once label is specified to <element> pattern, application can call Verifier.getCurrentElementType method to obtain a reference to TypedElementPattern object, which has label field. void startElement( ... |
com.sun.msv.reader.util |
Miscellaneous utilities |
com.sun.msv.reader.xmlschema |
parses XML representation of XML Schema into AGM. |
com.sun.msv.relaxns.grammar |
abstract grammar model(AGM) for RELAX Namespace. |
com.sun.msv.relaxns.grammar.relax |
abstract grammar model(AGM) for RELAXNS-extended RELAX Core. |
com.sun.msv.relaxns.grammar.trex |
abstract grammar model(AGM) for RELAXNS-extended TREX. |
com.sun.msv.relaxns.reader |
parses XML representation of RELAX Namespace. |
com.sun.msv.relaxns.reader.relax |
parses XML representation of RELAXNS-extended RELAX Core. |
com.sun.msv.relaxns.reader.trex |
parses XML representation of RELAXNS-extended TREX. |
com.sun.msv.relaxns.verifier |
"divide&validate" framework implementation. |
com.sun.msv.scanner.dtd |
scan DTD stream and generates appropriate events. |
com.sun.msv.util |
Miscellaneous utilities |
com.sun.msv.util.xml | |
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:
Note that these definitions capture schema from verifier's point of view. |
com.sun.msv.verifier.identity |
Verifier with XML Schema's identity constraint check. |
com.sun.msv.verifier.jarv |
Implementation of JARV (Java API for RELAX Verifier). |
com.sun.msv.verifier.jaxp | |
com.sun.msv.verifier.psvi |
Type-assignment engine that can be used by application programs. Classes in this package provides the functionality equivalent to post-schema-validation-infoset (PSVI) of W3C XML Schema. |
com.sun.msv.verifier.regexp |
VGM implementation by using regular expression derivation algorithm. This implementation bridges a gap between neutral grammar model (com.sun.msv.grammar) and Verifier grammar model (com.sun.msv.verifier). |
com.sun.msv.verifier.regexp.xmlschema |
RegExp VGM implementation that supports special semantics of XML Schema This package should be considered as a dity ugly quick-hack. |
com.sun.msv.verifier.util |
Miscellaneous utilities |
com.sun.msv.writer | |
com.sun.msv.writer.relaxng |
AGM to RELAX NG converter |