com.sun.msv.verifier.regexp

Class StringCareLevelCalculator

public class StringCareLevelCalculator extends ExpressionFinder

calculates how character literals should be treated. This class is thread-safe: multiple threads can simultaneously access the same instance. Note that there is no guarantee that the derived class is thread-safe.

Author: Kohsuke KAWAGUCHI

Method Summary
static intcalc(Expression exp)
booleanonAnyString()
booleanonAttribute(AttributeExp exp)
booleanonData(DataExp exp)
booleanonElement(ElementExp exp)
booleanonList(ListExp exp)
booleanonMixed(MixedExp exp)
booleanonValue(ValueExp exp)

Method Detail

calc

public static int calc(Expression exp)

onAnyString

public boolean onAnyString()

onAttribute

public boolean onAttribute(AttributeExp exp)

onData

public boolean onData(DataExp exp)

onElement

public boolean onElement(ElementExp exp)

onList

public boolean onList(ListExp exp)

onMixed

public boolean onMixed(MixedExp exp)

onValue

public boolean onValue(ValueExp exp)