Package com.sun.msv.verifier.regexp
Class OptimizationTag
- java.lang.Object
-
- com.sun.msv.verifier.regexp.OptimizationTag
-
final class OptimizationTag extends java.lang.Objectthis object will be added to Expression.verifierTag to speed up typical validation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classOptimizationTag.OwnerAndCont
-
Field Summary
Fields Modifier and Type Field Description (package private) ExpressionattributePrunedExpressionAttributePruner.prune(exp)(package private) java.util.MapsimpleElementTokenResidualmap from element to residual(exp,ElementToken(element)) this map is not applicable when the ElementToken represents more than one element.static intSTRING_NOTCOMPUTEDa value indicates that stringCareLevel has not computed yet.(package private) intstringCareLevelcached value of string care level.(package private) java.util.Maptransitionsmap from (namespaceURI,tagName) pair to OwnerAndContinuation.
-
Constructor Summary
Constructors Constructor Description OptimizationTag()
-
-
-
Field Detail
-
stringCareLevel
int stringCareLevel
cached value of string care level. See Acceptor.getStringCareLevel for meanings of value.
-
STRING_NOTCOMPUTED
public static final int STRING_NOTCOMPUTED
a value indicates that stringCareLevel has not computed yet.- See Also:
- Constant Field Values
-
simpleElementTokenResidual
final java.util.Map simpleElementTokenResidual
map from element to residual(exp,ElementToken(element)) this map is not applicable when the ElementToken represents more than one element. Because of 'concur' operator. In RELAX, residual(exp,elem1|elem2) = residual(exp,elem1) | residual(exp,elem2) Since it is possible for multiple threads to access the same OptimizationTag concurrently, it has to be serialized.
-
transitions
final java.util.Map transitions
map from (namespaceURI,tagName) pair to OwnerAndContinuation.
-
attributePrunedExpression
Expression attributePrunedExpression
AttributePruner.prune(exp)
-
-