Class ElementsOfConcernCollector
java.lang.Object
com.sun.msv.verifier.regexp.ElementsOfConcernCollector
- All Implemented Interfaces:
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcollect(Expression exp, Collection result) final Objectfinal ObjectonAttribute(AttributeExp exp) final Objectfinal Objectfinal Objectfinal ObjectonElement(ElementExp exp) final Objectfinal Objectfinal Objectfinal Objectfinal Objectfinal ObjectonOneOrMore(OneOrMoreExp exp) final Objectfinal ObjectonRef(ReferenceExp exp) final ObjectonSequence(SequenceExp exp) final Object
-
Field Details
-
result
-
-
Constructor Details
-
ElementsOfConcernCollector
public ElementsOfConcernCollector()
-
-
Method Details
-
collect
-
onAttribute
- Specified by:
onAttributein interfaceExpressionVisitor
-
onChoice
- Specified by:
onChoicein interfaceExpressionVisitor
-
onElement
- Specified by:
onElementin interfaceExpressionVisitor
-
onOneOrMore
- Specified by:
onOneOrMorein interfaceExpressionVisitor
-
onMixed
- Specified by:
onMixedin interfaceExpressionVisitor
-
onEpsilon
- Specified by:
onEpsilonin interfaceExpressionVisitor
-
onNullSet
- Specified by:
onNullSetin interfaceExpressionVisitor
-
onAnyString
- Specified by:
onAnyStringin interfaceExpressionVisitor
-
onData
- Specified by:
onDatain interfaceExpressionVisitor
-
onValue
- Specified by:
onValuein interfaceExpressionVisitor
-
onList
- Specified by:
onListin interfaceExpressionVisitor
-
onRef
- Specified by:
onRefin interfaceExpressionVisitor
-
onOther
- Specified by:
onOtherin interfaceExpressionVisitor
-
onSequence
- Specified by:
onSequencein interfaceExpressionVisitor
-
onConcur
- Specified by:
onConcurin interfaceExpressionVisitor
-
onInterleave
- Specified by:
onInterleavein interfaceExpressionVisitor
-