public class DataItem extends Item
| Constructor and Description |
|---|
DataItem(java.lang.String type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowEmpty()
Data allows the empty match.
|
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.
|
int |
hashCode()
Returns the hash code for the empty item.
|
Item |
text(java.lang.CharSequence text)
Data repeats
|
java.lang.String |
toString() |
java.lang.String |
toSyntaxDescription(int depth)
Returns the pretty printed syntax.
|
addSyntaxNewline, allowAttribute, allowsElement, attributeEnd, attributeSet, emptyItemIterator, endElement, error, getItemsIterator, groupContinuation, inElementContinuation, interleaveContinuation, isSimpleSyntax, itemIterator, requiredFirstSet, setAttribute, startElementprotected static final L10N L
public void firstSet(java.util.HashSet<QName> set)
public boolean allowEmpty()
allowEmpty in class Itempublic java.lang.String toSyntaxDescription(int depth)
toSyntaxDescription in class Itempublic 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