Package com.sun.msv.verifier.regexp
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.
- Author:
- Kohsuke KAWAGUCHI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
collect
(Expression exp, Collection<Expression> result) final Object
final Object
onAttribute
(AttributeExp exp) final Object
final Object
final Object
final Object
onElement
(ElementExp exp) final Object
final Object
final Object
final Object
final Object
final Object
onOneOrMore
(OneOrMoreExp exp) final Object
final Object
onRef
(ReferenceExp exp) final Object
onSequence
(SequenceExp exp) final Object
-
Constructor Details
-
ElementsOfConcernCollector
public ElementsOfConcernCollector()
-
-
Method Details
-
collect
-
onAttribute
- Specified by:
onAttribute
in interfaceExpressionVisitor
-
onChoice
- Specified by:
onChoice
in interfaceExpressionVisitor
-
onElement
- Specified by:
onElement
in interfaceExpressionVisitor
-
onOneOrMore
- Specified by:
onOneOrMore
in interfaceExpressionVisitor
-
onMixed
- Specified by:
onMixed
in interfaceExpressionVisitor
-
onEpsilon
- Specified by:
onEpsilon
in interfaceExpressionVisitor
-
onNullSet
- Specified by:
onNullSet
in interfaceExpressionVisitor
-
onAnyString
- Specified by:
onAnyString
in interfaceExpressionVisitor
-
onData
- Specified by:
onData
in interfaceExpressionVisitor
-
onValue
- Specified by:
onValue
in interfaceExpressionVisitor
-
onList
- Specified by:
onList
in interfaceExpressionVisitor
-
onRef
- Specified by:
onRef
in interfaceExpressionVisitor
-
onOther
- Specified by:
onOther
in interfaceExpressionVisitor
-
onSequence
- Specified by:
onSequence
in interfaceExpressionVisitor
-
onConcur
- Specified by:
onConcur
in interfaceExpressionVisitor
-
onInterleave
- Specified by:
onInterleave
in interfaceExpressionVisitor
-