public class NameChoiceSeq extends Object
Constructor and Description |
---|
NameChoiceSeq()
Creates a new instance of NameChoiceSeq.
|
NameChoiceSeq(String n)
Construct with a name String.
|
Modifier and Type | Method and Description |
---|---|
void |
addKid(NameChoiceSeq k)
Add a new child name/choice/seq to this one.
|
Vector |
getKids()
Get the kids; this should only be called if type is 1 or 2 (choice or seq)
|
String |
getName()
Returns the name for name types; empty string otherwise.
|
String |
getQ()
Get the quantifier string
|
int |
getType()
Get the type
|
void |
setQ(char newQ)
Set the quantifier string.
|
void |
setType(int t)
Set the type.
|
public NameChoiceSeq()
public NameChoiceSeq(String n)
public String getName()
public void setType(int t) throws Exception
Exception
public int getType()
public void setQ(char newQ) throws Exception
Exception
public String getQ()
public void addKid(NameChoiceSeq k)
public Vector getKids()