|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.relaxng.program.Item
com.caucho.relaxng.program.DataItem
public class DataItem
Represents generaic text.
| Field Summary | |
|---|---|
protected static L10N |
L
|
| Fields inherited from class com.caucho.relaxng.program.Item |
|---|
log |
| Constructor Summary | |
|---|---|
DataItem(java.lang.String type)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.caucho.relaxng.program.Item |
|---|
addSyntaxNewline, allowAttribute, allowsElement, attributeEnd, attributeSet, emptyItemIterator, endElement, error, getItemsIterator, groupContinuation, inElementContinuation, interleaveContinuation, isSimpleSyntax, itemIterator, requiredFirstSet, setAttribute, startElement |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final L10N L
| Constructor Detail |
|---|
public DataItem(java.lang.String type)
| Method Detail |
|---|
public void firstSet(java.util.HashSet<QName> set)
firstSet in class Itempublic boolean allowEmpty()
allowEmpty in class Itempublic Item text(java.lang.CharSequence text)
text 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||