com.sun.msv.verifier.regexp
public class StringCareLevelCalculator extends ExpressionFinder
Modifier and Type | Method and Description |
---|---|
static int |
calc(Expression exp) |
boolean |
onAnyString() |
boolean |
onAttribute(AttributeExp exp) |
boolean |
onData(DataExp exp) |
boolean |
onElement(ElementExp exp) |
boolean |
onList(ListExp exp) |
boolean |
onMixed(MixedExp exp) |
boolean |
onValue(ValueExp exp) |
onChoice, onConcur, onEpsilon, onInterleave, onNullSet, onOneOrMore, onOther, onRef, onSequence
public boolean onAttribute(AttributeExp exp)
onAttribute
in interface ExpressionVisitorBoolean
onAttribute
in class ExpressionFinder
public boolean onElement(ElementExp exp)
onElement
in interface ExpressionVisitorBoolean
onElement
in class ExpressionFinder
public boolean onMixed(MixedExp exp)
onMixed
in interface ExpressionVisitorBoolean
onMixed
in class ExpressionFinder
public boolean onList(ListExp exp)
onList
in interface ExpressionVisitorBoolean
onList
in class ExpressionFinder
public boolean onAnyString()
onAnyString
in interface ExpressionVisitorBoolean
onAnyString
in class ExpressionFinder
public boolean onData(DataExp exp)
onData
in interface ExpressionVisitorBoolean
onData
in class ExpressionFinder
public boolean onValue(ValueExp exp)
onValue
in interface ExpressionVisitorBoolean
onValue
in class ExpressionFinder
public static int calc(Expression exp)