com.sun.msv.grammar.util
Class PossibleNamesCollector
java.lang.Object
com.sun.msv.grammar.util.PossibleNamesCollector
- All Implemented Interfaces:
- NameClassVisitor
- public class PossibleNamesCollector
- extends java.lang.Object
- implements NameClassVisitor
computes the possible names.
See
the description.
- Author:
- Kohsuke KAWAGUCHI
Field Summary |
static java.lang.String |
MAGIC
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAGIC
public static final java.lang.String MAGIC
- See Also:
- Constant Field Values
PossibleNamesCollector
public PossibleNamesCollector()
calc
public static java.util.Set calc(NameClass nc)
- computes all possibile names for this name class, and returns
the set of
StringPair
.
onAnyName
public java.lang.Object onAnyName(AnyNameClass nc)
- Specified by:
onAnyName
in interface NameClassVisitor
onChoice
public java.lang.Object onChoice(ChoiceNameClass nc)
- Specified by:
onChoice
in interface NameClassVisitor
onDifference
public java.lang.Object onDifference(DifferenceNameClass nc)
- Specified by:
onDifference
in interface NameClassVisitor
onNot
public java.lang.Object onNot(NotNameClass nc)
- Specified by:
onNot
in interface NameClassVisitor
onNsName
public java.lang.Object onNsName(NamespaceNameClass nc)
- Specified by:
onNsName
in interface NameClassVisitor
onSimple
public java.lang.Object onSimple(SimpleNameClass nc)
- Specified by:
onSimple
in interface NameClassVisitor
Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated April 26 2005.