Element.Tag| Modifier and Type | Field and Description |
|---|---|
java.util.List<Sequence> |
alternatives
The ordered list of sequences.
|
| Constructor and Description |
|---|
OrderedChoice()
Create a new ordered choice with no choices.
|
OrderedChoice(Element element)
Create a new ordered choice with the specified element as its
only alternative.
|
OrderedChoice(java.util.List<Sequence> alternatives)
Create a new ordered choice.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Element.Tag |
tag()
Get this element's tag.
|
add, add, addAll, addAll, addAll, addAll, addAllTo, addNode, contains, get, getBoolean, getBooleanProperty, getGeneric, getList, getLocation, getName, getNode, getProperty, getString, getStringProperty, getTokenText, hasLocation, hasName, hasProperty, hasTraversal, hasVariable, indexOf, isAnnotation, isEmpty, isGeneric, isList, isToken, iterator, lastIndexOf, properties, remove, removeProperty, set, setLocation, setLocation, setProperty, size, strip, toAnnotation, toList, toString, toToken, writepublic java.util.List<Sequence> alternatives
public OrderedChoice()
public OrderedChoice(java.util.List<Sequence> alternatives)
alternatives - The list of alternatives.public Element.Tag tag()
Elementpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2014. All Rights Reserved.