REDocumentDeclaration that supports several W3C XML Schema
specific semantics.
If you do validation by using W3C XML Schema, then you should use
this VGM instead of plain REDocumentDeclaration.
You should also use IDConstraintChecker instead of Verifier class.
This package implements the following things:
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| protected final XMLSchemaGrammar | grammar
the grammar which this VGM is using. |
| protected final AttributeExp | xsiAttExp
AttributeExp that matches to "xsi:***" attributes. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Acceptor | createAcceptor()
Overrides com. Implements com. |
| pack-priv AttributeFeeder | |
| pack-priv CombinedChildContentExpCreator | |
| public String | localizeMessage(String propertyName, Object[] args)
Overrides com. |
| ERR_NON_NILLABLE_ELEMENT | back to summary |
|---|---|
| public static final String ERR_NON_NILLABLE_ELEMENT | |
| ERR_NOT_SUBSTITUTABLE_TYPE | back to summary |
|---|---|
| public static final String ERR_NOT_SUBSTITUTABLE_TYPE | |
| ERR_UNDEFINED_TYPE | back to summary |
|---|---|
| public static final String ERR_UNDEFINED_TYPE | |
| grammar | back to summary |
|---|---|
| protected final XMLSchemaGrammar grammar the grammar which this VGM is using. For one, this object is used to find the complex type definition by its name. | |
| xsiAttExp | back to summary |
|---|---|
| protected final AttributeExp xsiAttExp AttributeExp that matches to "xsi:***" attributes. | |
| XSREDocDecl | back to summary |
|---|---|
| public XSREDocDecl(XMLSchemaGrammar grammar) | |
| createAcceptor | back to summary |
|---|---|
| public Acceptor createAcceptor() Overrides com. Implements com. Doc from com. creates a new Acceptor that will validate the document element. In RELAX, this concept is equivalent to <topLevel> In TREX, this concept is equivalent to <start>
| |
| getAttFeeder | back to summary |
|---|---|
| pack-priv AttributeFeeder getAttFeeder() | |
| getCCCEC | back to summary |
|---|---|
| pack-priv CombinedChildContentExpCreator getCCCEC() | |
| localizeMessage | back to summary |
|---|---|
| public String localizeMessage(String propertyName, Object[] args) Overrides com. | |