DocumentDeclaration implementation
Grammar object can be shared among multiple threads, but this object
cannot be shared.
REDocumentDeclaration always returns subclasses of ExpressionAcceptor
as the Acceptor implementation.
| Modifier and Type | Field and Description |
|---|---|
| protected final AttributeFeeder | |
| protected final AttributePicker | |
| protected final AttributePruner | |
| protected final AttributeRemover | |
| public final AttributeToken | attToken
the AttributeToken object which is re-used
Only one AttributeToken object is used during the
|
| protected final CombinedChildContentExpCreator | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| protected final ElementsOfConcernCollector | |
| public final ExpressionPool | pool
ExpressionPool object that this VGM uses. |
| protected final ResidualCalculator | |
| protected final Expression | topLevel
start validation from this expression. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | REDocumentDeclaration(Expression topLevel, ExpressionPool pool)
creates an object that validates the specified expression. |
| Modifier and Type | Method and Description |
|---|---|
| public Acceptor | createAcceptor()
Implements com. |
| public String | |
| public final String | |
| public final String |
| attFeeder | back to summary |
|---|---|
| protected final AttributeFeeder attFeeder | |
| attPicker | back to summary |
|---|---|
| protected final AttributePicker attPicker | |
| attPruner | back to summary |
|---|---|
| protected final AttributePruner attPruner | |
| attRemover | back to summary |
|---|---|
| protected final AttributeRemover attRemover | |
| attToken | back to summary |
|---|---|
| public final AttributeToken attToken the AttributeToken object which is re-used
Only one AttributeToken object is used during the
Note other parts of the code may never rely on the fact that the attribute token is cached and reused. Note this field should be accessed ONLY by the
| |
| cccec | back to summary |
|---|---|
| protected final CombinedChildContentExpCreator cccec | |
| DIAG_BAD_ATTRIBUTE_VALUE_DATATYPE | back to summary |
|---|---|
| public static final String DIAG_BAD_ATTRIBUTE_VALUE_DATATYPE | |
| DIAG_BAD_ATTRIBUTE_VALUE_GENERIC | back to summary |
|---|---|
| public static final String DIAG_BAD_ATTRIBUTE_VALUE_GENERIC | |
| DIAG_BAD_ATTRIBUTE_VALUE_MORE | back to summary |
|---|---|
| public static final String DIAG_BAD_ATTRIBUTE_VALUE_MORE | |
| DIAG_BAD_ATTRIBUTE_VALUE_SEPARATOR | back to summary |
|---|---|
| public static final String DIAG_BAD_ATTRIBUTE_VALUE_SEPARATOR | |
| DIAG_BAD_ATTRIBUTE_VALUE_WRAPUP | back to summary |
|---|---|
| public static final String DIAG_BAD_ATTRIBUTE_VALUE_WRAPUP | |
| DIAG_BAD_KEY_VALUE | back to summary |
|---|---|
| public static final String DIAG_BAD_KEY_VALUE | |
| DIAG_BAD_KEY_VALUE2 | back to summary |
|---|---|
| public static final String DIAG_BAD_KEY_VALUE2 | |
| DIAG_BAD_LITERAL_GENERIC | back to summary |
|---|---|
| public static final String DIAG_BAD_LITERAL_GENERIC | |
| DIAG_BAD_LITERAL_INCORRECT_VALUE | back to summary |
|---|---|
| public static final String DIAG_BAD_LITERAL_INCORRECT_VALUE | |
| DIAG_BAD_LITERAL_MORE | back to summary |
|---|---|
| public static final String DIAG_BAD_LITERAL_MORE | |
| DIAG_BAD_LITERAL_SEPARATOR | back to summary |
|---|---|
| public static final String DIAG_BAD_LITERAL_SEPARATOR | |
| DIAG_BAD_LITERAL_WRAPUP | back to summary |
|---|---|
| public static final String DIAG_BAD_LITERAL_WRAPUP | |
| DIAG_BAD_TAGNAME_GENERIC | back to summary |
|---|---|
| public static final String DIAG_BAD_TAGNAME_GENERIC | |
| DIAG_BAD_TAGNAME_MORE | back to summary |
|---|---|
| public static final String DIAG_BAD_TAGNAME_MORE | |
| DIAG_BAD_TAGNAME_PROBABLY_WRONG_NAMESPACE | back to summary |
|---|---|
| public static final String DIAG_BAD_TAGNAME_PROBABLY_WRONG_NAMESPACE | |
| DIAG_BAD_TAGNAME_SEPARATOR | back to summary |
|---|---|
| public static final String DIAG_BAD_TAGNAME_SEPARATOR | |
| DIAG_BAD_TAGNAME_WRAPUP | back to summary |
|---|---|
| public static final String DIAG_BAD_TAGNAME_WRAPUP | |
| DIAG_BAD_TAGNAME_WRONG_NAMESPACE | back to summary |
|---|---|
| public static final String DIAG_BAD_TAGNAME_WRONG_NAMESPACE | |
| DIAG_CONTENT_MODEL_IS_NULLSET | back to summary |
|---|---|
| public static final String DIAG_CONTENT_MODEL_IS_NULLSET | |
| DIAG_ELEMENT_NOT_ALLOWED | back to summary |
|---|---|
| public static final String DIAG_ELEMENT_NOT_ALLOWED | |
| DIAG_MISSING_ATTRIBUTE_GENERIC | back to summary |
|---|---|
| public static final String DIAG_MISSING_ATTRIBUTE_GENERIC | |
| DIAG_MISSING_ATTRIBUTE_MORE | back to summary |
|---|---|
| public static final String DIAG_MISSING_ATTRIBUTE_MORE | |
| DIAG_MISSING_ATTRIBUTE_SEPARATOR | back to summary |
|---|---|
| public static final String DIAG_MISSING_ATTRIBUTE_SEPARATOR | |
| DIAG_MISSING_ATTRIBUTE_SIMPLE | back to summary |
|---|---|
| public static final String DIAG_MISSING_ATTRIBUTE_SIMPLE | |
| DIAG_MISSING_ATTRIBUTE_WRAPUP | back to summary |
|---|---|
| public static final String DIAG_MISSING_ATTRIBUTE_WRAPUP | |
| DIAG_NAMESPACE_NAMECLASS | back to summary |
|---|---|
| public static final String DIAG_NAMESPACE_NAMECLASS | |
| DIAG_NOT_NAMESPACE_NAMECLASS | back to summary |
|---|---|
| public static final String DIAG_NOT_NAMESPACE_NAMECLASS | |
| DIAG_SIMPLE_NAMECLASS | back to summary |
|---|---|
| public static final String DIAG_SIMPLE_NAMECLASS | |
| DIAG_STRING_NOT_ALLOWED | back to summary |
|---|---|
| public static final String DIAG_STRING_NOT_ALLOWED | |
| DIAG_UNCOMPLETED_CONTENT_MORE | back to summary |
|---|---|
| public static final String DIAG_UNCOMPLETED_CONTENT_MORE | |
| DIAG_UNCOMPLETED_CONTENT_SEPARATOR | back to summary |
|---|---|
| public static final String DIAG_UNCOMPLETED_CONTENT_SEPARATOR | |
| DIAG_UNCOMPLETED_CONTENT_WRAPUP | back to summary |
|---|---|
| public static final String DIAG_UNCOMPLETED_CONTENT_WRAPUP | |
| DIAG_UNDECLARED_ATTRIBUTE | back to summary |
|---|---|
| public static final String DIAG_UNDECLARED_ATTRIBUTE | |
| ecc | back to summary |
|---|---|
| protected final ElementsOfConcernCollector ecc | |
| pool | back to summary |
|---|---|
| public final ExpressionPool pool ExpressionPool object that this VGM uses. | |
| resCalc | back to summary |
|---|---|
| protected final ResidualCalculator resCalc | |
| topLevel | back to summary |
|---|---|
| protected final Expression topLevel start validation from this expression. | |
| REDocumentDeclaration | back to summary |
|---|---|
| public REDocumentDeclaration(Grammar grammar) | |
| REDocumentDeclaration | back to summary |
|---|---|
| public REDocumentDeclaration(Expression topLevel, ExpressionPool pool) creates an object that validates the specified expression. | |
| createAcceptor | back to summary |
|---|---|
| public Acceptor createAcceptor() 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>
| |
| localizeMessage | back to summary |
|---|---|
| public String localizeMessage(String propertyName, Object[] args) | |
| localizeMessage | back to summary |
|---|---|
| public final String localizeMessage(String propName, Object arg1) | |
| localizeMessage | back to summary |
|---|---|
| public final String localizeMessage(String propName, Object arg1, Object arg2) | |