Class PossibleNamesCollector
java.lang.Object
com.sun.msv.grammar.util.PossibleNamesCollector
- All Implemented Interfaces:
NameClassVisitor
computes the possible names.
See the description.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate Setthis set will receive all possible names.private static final StringPair -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Setcomputes all possibile names for this name class, and returns the set ofStringPair.onNot(NotNameClass nc)
-
Field Details
-
MAGIC
- See Also:
-
pairForAny
-
names
this set will receive all possible names.
-
-
Constructor Details
-
PossibleNamesCollector
public PossibleNamesCollector()
-
-
Method Details
-
calc
computes all possibile names for this name class, and returns the set ofStringPair. -
onChoice
- Specified by:
onChoicein interfaceNameClassVisitor
-
onAnyName
- Specified by:
onAnyNamein interfaceNameClassVisitor
-
onSimple
- Specified by:
onSimplein interfaceNameClassVisitor
-
onNsName
- Specified by:
onNsNamein interfaceNameClassVisitor
-
onNot
- Specified by:
onNotin interfaceNameClassVisitor
-
onDifference
- Specified by:
onDifferencein interfaceNameClassVisitor
-