Class OptimizationTag

java.lang.Object
com.sun.msv.verifier.regexp.OptimizationTag

final class OptimizationTag extends Object
this object will be added to Expression.verifierTag to speed up typical validation.
  • Field Details

    • 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:
    • simpleElementTokenResidual

      final 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 Map transitions
      map from (namespaceURI,tagName) pair to OwnerAndContinuation.
    • attributePrunedExpression

      Expression attributePrunedExpression
      AttributePruner.prune(exp)
  • Constructor Details

    • OptimizationTag

      OptimizationTag()