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.
|
errorprotected 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 NameClassItempublic boolean matches(QName name)
matches in class NameClassItempublic java.lang.String toSyntaxDescription(java.lang.String prefix)
toSyntaxDescription in class NameClassItempublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object