Class OptimizationTag
java.lang.Object
com.sun.msv.verifier.regexp.OptimizationTag
this object will be added to Expression.verifierTag
to speed up typical validation.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) ExpressionAttributePruner.prune(exp)(package private) final Mapmap from element to residual(exp,ElementToken(element)) this map is not applicable when the ElementToken represents more than one element.static final inta value indicates that stringCareLevel has not computed yet.(package private) intcached value of string care level.(package private) final Mapmap from (namespaceURI,tagName) pair to OwnerAndContinuation. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
stringCareLevel
int stringCareLevelcached value of string care level. See Acceptor.getStringCareLevel for meanings of value. -
STRING_NOTCOMPUTED
public static final int STRING_NOTCOMPUTEDa value indicates that stringCareLevel has not computed yet.- See Also:
-
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
map from (namespaceURI,tagName) pair to OwnerAndContinuation. -
attributePrunedExpression
Expression attributePrunedExpressionAttributePruner.prune(exp)
-
-
Constructor Details
-
OptimizationTag
OptimizationTag()
-