Top Description Inners Fields Constructors Methods
com.sun.msv.verifier.regexp

pack-priv final Class OptimizationTag

extends Object
Class Inheritance
Imports
java.util.Map, com.sun.msv.grammar.ElementExp, .Expression, com.sun.msv.util.StringPair

this object will be added to Expression.verifierTag to speed up typical validation.
Author
Kohsuke KAWAGUCHI

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class

Field Summary

Modifier and TypeField and Description
pack-priv Expression
attributePrunedExpression

AttributePruner.prune(exp)

pack-priv final Map<Object, Object>
simpleElementTokenResidual

map from element to residual(exp,ElementToken(element)) this map is not applicable when the ElementToken represents more than one element.

public static final int
STRING_NOTCOMPUTED

a value indicates that stringCareLevel has not computed yet.

pack-priv int
stringCareLevel

cached value of string care level.

pack-priv final Map<StringPair, Object>
transitions

map from (namespaceURI,tagName) pair to OwnerAndContinuation.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributePrunedExpressionback to summary
pack-priv Expression attributePrunedExpression

AttributePruner.prune(exp)

simpleElementTokenResidualback to summary
pack-priv final Map<Object, Object> 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.

STRING_NOTCOMPUTEDback to summary
public static final int STRING_NOTCOMPUTED

a value indicates that stringCareLevel has not computed yet.

stringCareLevelback to summary
pack-priv int stringCareLevel

cached value of string care level. See Acceptor.getStringCareLevel for meanings of value.

transitionsback to summary
pack-priv final Map<StringPair, Object> transitions

map from (namespaceURI,tagName) pair to OwnerAndContinuation.

Constructor Detail

OptimizationTagback to summary
pack-priv OptimizationTag()
com.sun.msv.verifier.regexp back to summary

protected final Class OptimizationTag.OwnerAndCont

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final Expression
pack-priv final ElementExp

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

continuationback to summary
pack-priv final Expression continuation
ownerback to summary
pack-priv final ElementExp owner

Constructor Detail

OwnerAndContback to summary
public OwnerAndCont(ElementExp owner, Expression cont)