| Modifier and Type | Class and Description |
|---|---|
| private static class | DefAttCompatibilityChecker.Abort
used to abort the check. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| 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 | |
| private ExpressionWalker | contextDependentTypeChecker
checks if the expression contains context-dependent datatypes. |
| private final Map | |
| private final RefExpRemover |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefAttCompatibilityChecker(RELAXNGCompReader _reader, Map<AttributeExp, String> _defaultedAttributes)
|
| Modifier and Type | Method and Description |
|---|---|
| private boolean | isEpsilon(Expression exp)
returns true if the exp is equivalent to <empty/> after the simplification. |
| protected void | setCompatibility(boolean val)
Implements abstract com. |
| public void |
| CERR_DEFVALUE_COMPETING_ELEMENTS | back to summary |
|---|---|
| public static final String CERR_DEFVALUE_COMPETING_ELEMENTS | |
| CERR_DEFVALUE_COMPLEX_ELEMENTNAME | back to summary |
|---|---|
| public static final String CERR_DEFVALUE_COMPLEX_ELEMENTNAME | |
| CERR_DEFVALUE_CONTEXT_DEPENDENT_TYPE | back to summary |
|---|---|
| public static final String CERR_DEFVALUE_CONTEXT_DEPENDENT_TYPE | |
| CERR_DEFVALUE_DIFFERENT_VALUES | back to summary |
|---|---|
| public static final String CERR_DEFVALUE_DIFFERENT_VALUES | |
| CERR_DEFVALUE_INVALID | back to summary |
|---|---|
| public static final String CERR_DEFVALUE_INVALID | |
| CERR_DEFVALUE_NAME_IS_NOT_SIMPLE | back to summary |
|---|---|
| public static final String CERR_DEFVALUE_NAME_IS_NOT_SIMPLE | |
| CERR_DEFVALUE_NOT_OPTIONAL | back to summary |
|---|---|
| public static final String CERR_DEFVALUE_NOT_OPTIONAL | |
| CERR_DEFVALUE_REPEATABLE | back to summary |
|---|---|
| public static final String CERR_DEFVALUE_REPEATABLE | |
| contextDependentTypeChecker | back to summary |
|---|---|
| private ExpressionWalker contextDependentTypeChecker checks if the expression contains context-dependent datatypes. If so, it reports an error and throws an Abort exception. | |
| defaultedAttributes | back to summary |
|---|---|
| private final Map<K, V> defaultedAttributes | |
| refRemover | back to summary |
|---|---|
| private final RefExpRemover refRemover | |
| DefAttCompatibilityChecker | back to summary |
|---|---|
| pack-priv DefAttCompatibilityChecker(RELAXNGCompReader _reader, Map<AttributeExp, String> _defaultedAttributes) | |
| isEpsilon | back to summary |
|---|---|
| private boolean isEpsilon(Expression exp) returns true if the exp is equivalent to <empty/> after the simplification. | |
| setCompatibility | back to summary |
|---|---|
| protected void setCompatibility(boolean val) Implements abstract com. | |
| test | back to summary |
|---|---|
| public void test() tests the compatibility with the default attribute feature. | |
| Access | Constructor and Description |
|---|---|
| private |
| Abort | back to summary |
|---|---|
| private Abort() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Map | defaultAttributes
the map from the attribute name (as StringPair) to the default value (as String). |
| pack-priv final ElementExp | sampleDecl
one of the ElementExps that have this particular element name. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| defaultAttributes | back to summary |
|---|---|
| pack-priv final Map<StringPair, String> defaultAttributes the map from the attribute name (as StringPair) to the default value (as String). | |
| sampleDecl | back to summary |
|---|---|
| pack-priv final ElementExp sampleDecl one of the ElementExps that have this particular element name. used only for the error reporting. | |
| DefAttMap | back to summary |
|---|---|
| pack-priv DefAttMap(ElementExp sample, Map<StringPair, String> atts) | |