com.sun.msv.verifier.regexp

Class ElementsOfConcernCollector

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
ElementsOfConcernCollector()
Method Summary
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)

Constructor Detail

ElementsOfConcernCollector

public ElementsOfConcernCollector()

Method Detail

collect

public final void collect(Expression exp, Collection result)

onAnyString

public final Object onAnyString()

onAttribute

public final Object onAttribute(AttributeExp exp)

onChoice

public final Object onChoice(ChoiceExp exp)

onConcur

public final Object onConcur(ConcurExp exp)

onData

public final Object onData(DataExp exp)

onElement

public final Object onElement(ElementExp exp)

onEpsilon

public final Object onEpsilon()

onInterleave

public final Object onInterleave(InterleaveExp exp)

onList

public final Object onList(ListExp exp)

onMixed

public final Object onMixed(MixedExp exp)

onNullSet

public final Object onNullSet()

onOneOrMore

public final Object onOneOrMore(OneOrMoreExp exp)

onOther

public final Object onOther(OtherExp exp)

onRef

public final Object onRef(ReferenceExp exp)

onSequence

public final Object onSequence(SequenceExp exp)

onValue

public final Object onValue(ValueExp exp)