public class ChoiceNameItem extends NameClassItem
Modifier and Type | Field and Description |
---|---|
protected static L10N |
L |
log
Constructor and Description |
---|
ChoiceNameItem() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(NameClassItem item) |
static NameClassItem |
create(NameClassItem left,
NameClassItem right) |
boolean |
equals(java.lang.Object o)
Returns true if the object is an empty item.
|
void |
firstSet(java.util.HashSet<QName> set)
Returns the first set, the set of element names possible.
|
NameClassItem |
getMin() |
int |
hashCode()
Returns the hash code for the empty item.
|
boolean |
matches(QName name)
Allows empty if both allow empty.
|
java.lang.String |
toString() |
java.lang.String |
toSyntaxDescription(java.lang.String prefix)
Returns the pretty printed syntax.
|
error
protected static final L10N L
public static NameClassItem create(NameClassItem left, NameClassItem right)
public void addItem(NameClassItem item)
public NameClassItem getMin()
public void firstSet(java.util.HashSet<QName> set)
firstSet
in class NameClassItem
public boolean matches(QName name)
matches
in class NameClassItem
public java.lang.String toSyntaxDescription(java.lang.String prefix)
toSyntaxDescription
in class NameClassItem
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object