Package com.sun.msv.verifier.regexp
Class ElementsOfConcernCollector
- java.lang.Object
-
- com.sun.msv.verifier.regexp.ElementsOfConcernCollector
-
- All Implemented Interfaces:
ExpressionVisitor
public class ElementsOfConcernCollector extends Object implements ExpressionVisitor
Collects "elements of concern". "Elements of concern" are ElementExps that are possibly applicable to the next element. These gathered element declarations are then tested against next XML element.- Author:
- Kohsuke KAWAGUCHI
-
-
Constructor Summary
Constructors Constructor Description ElementsOfConcernCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollect(Expression exp, Collection result)ObjectonAnyString()ObjectonAttribute(AttributeExp exp)ObjectonChoice(ChoiceExp exp)ObjectonConcur(ConcurExp exp)ObjectonData(DataExp exp)ObjectonElement(ElementExp exp)ObjectonEpsilon()ObjectonInterleave(InterleaveExp exp)ObjectonList(ListExp exp)ObjectonMixed(MixedExp exp)ObjectonNullSet()ObjectonOneOrMore(OneOrMoreExp exp)ObjectonOther(OtherExp exp)ObjectonRef(ReferenceExp exp)ObjectonSequence(SequenceExp exp)ObjectonValue(ValueExp exp)
-
-
-
Method Detail
-
collect
public final void collect(Expression exp, Collection result)
-
onAttribute
public final Object onAttribute(AttributeExp exp)
- Specified by:
onAttributein interfaceExpressionVisitor
-
onChoice
public final Object onChoice(ChoiceExp exp)
- Specified by:
onChoicein interfaceExpressionVisitor
-
onElement
public final Object onElement(ElementExp exp)
- Specified by:
onElementin interfaceExpressionVisitor
-
onOneOrMore
public final Object onOneOrMore(OneOrMoreExp exp)
- Specified by:
onOneOrMorein interfaceExpressionVisitor
-
onMixed
public final Object onMixed(MixedExp exp)
- Specified by:
onMixedin interfaceExpressionVisitor
-
onEpsilon
public final Object onEpsilon()
- Specified by:
onEpsilonin interfaceExpressionVisitor
-
onNullSet
public final Object onNullSet()
- Specified by:
onNullSetin interfaceExpressionVisitor
-
onAnyString
public final Object onAnyString()
- Specified by:
onAnyStringin interfaceExpressionVisitor
-
onData
public final Object onData(DataExp exp)
- Specified by:
onDatain interfaceExpressionVisitor
-
onValue
public final Object onValue(ValueExp exp)
- Specified by:
onValuein interfaceExpressionVisitor
-
onList
public final Object onList(ListExp exp)
- Specified by:
onListin interfaceExpressionVisitor
-
onRef
public final Object onRef(ReferenceExp exp)
- Specified by:
onRefin interfaceExpressionVisitor
-
onOther
public final Object onOther(OtherExp exp)
- Specified by:
onOtherin interfaceExpressionVisitor
-
onSequence
public final Object onSequence(SequenceExp exp)
- Specified by:
onSequencein interfaceExpressionVisitor
-
onConcur
public final Object onConcur(ConcurExp exp)
- Specified by:
onConcurin interfaceExpressionVisitor
-
onInterleave
public final Object onInterleave(InterleaveExp exp)
- Specified by:
onInterleavein interfaceExpressionVisitor
-
-