public class DataPattern extends StringPattern
| Modifier and Type | Field and Description |
|---|---|
private org.relaxng.datatype.Datatype |
dt |
AFTER_HASH_CODE, ATTRIBUTE_CONTEXT, ATTRIBUTE_HASH_CODE, CHOICE_HASH_CODE, DATA_CONTENT_TYPE, DATA_EXCEPT_CONTEXT, DATA_HASH_CODE, ELEMENT_CONTENT_TYPE, ELEMENT_CONTEXT, ELEMENT_HASH_CODE, ELEMENT_REPEAT_CONTEXT, ELEMENT_REPEAT_GROUP_CONTEXT, ELEMENT_REPEAT_INTERLEAVE_CONTEXT, EMPTY_CONTENT_TYPE, EMPTY_HASH_CODE, ERROR_HASH_CODE, GROUP_HASH_CODE, INTERLEAVE_HASH_CODE, LIST_CONTEXT, LIST_HASH_CODE, MIXED_CONTENT_TYPE, NOT_ALLOWED_HASH_CODE, ONE_OR_MORE_HASH_CODE, START_CONTEXT, TEXT_HASH_CODE, VALUE_HASH_CODE| Constructor and Description |
|---|
DataPattern(org.relaxng.datatype.Datatype dt) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PatternVisitor visitor) |
(package private) boolean |
allowsAnyString() |
java.lang.Object |
apply(PatternFunction f) |
(package private) void |
checkRestrictions(int context,
DuplicateAttributeDetector dad,
Alphabet alpha) |
(package private) org.relaxng.datatype.Datatype |
getDatatype() |
(package private) boolean |
samePattern(Pattern other) |
checkRecursion, combineHashCode, combineHashCode, containsChoice, contentTypeGroupable, expand, getContentType, isNotAllowed, isNullable, patternHashCodeboolean samePattern(Pattern other)
samePattern in class Patternpublic void accept(PatternVisitor visitor)
public java.lang.Object apply(PatternFunction f)
org.relaxng.datatype.Datatype getDatatype()
boolean allowsAnyString()
void checkRestrictions(int context,
DuplicateAttributeDetector dad,
Alphabet alpha)
throws RestrictionViolationException
checkRestrictions in class PatternRestrictionViolationException