com.thaiopensource.relaxng.impl
Class BinaryPattern
java.lang.Object
com.thaiopensource.relaxng.impl.Pattern
com.thaiopensource.relaxng.impl.BinaryPattern
- All Implemented Interfaces:
- ParsedPattern
- Direct Known Subclasses:
- AfterPattern, ChoicePattern, GroupPattern, InterleavePattern
abstract class BinaryPattern
- extends Pattern
Fields inherited from class com.thaiopensource.relaxng.impl.Pattern |
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 |
Methods inherited from class com.thaiopensource.relaxng.impl.Pattern |
accept, apply, applyForPattern, combineHashCode, combineHashCode, containsChoice, contentTypeGroupable, expand, getContentType, isNotAllowed, isNullable, patternHashCode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
p1
final Pattern p1
p2
final Pattern p2
BinaryPattern
BinaryPattern(boolean nullable,
int hc,
Pattern p1,
Pattern p2)
checkRecursion
void checkRecursion(int depth)
throws SAXException
- Overrides:
checkRecursion
in class Pattern
- Throws:
SAXException
checkRestrictions
void checkRestrictions(int context,
DuplicateAttributeDetector dad,
Alphabet alpha)
throws RestrictionViolationException
- Overrides:
checkRestrictions
in class Pattern
- Throws:
RestrictionViolationException
samePattern
boolean samePattern(Pattern other)
- Specified by:
samePattern
in class Pattern
getOperand1
Pattern getOperand1()
getOperand2
Pattern getOperand2()