|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.rt.datatype.DataType | +--edu.stanford.rt.datatype.SimpleType | +--edu.stanford.rt.datatype.TreeType
TreeType
elementField Summary | |
private boolean |
rootFirst
ordering of the tree type |
private java.lang.String |
separator
separator of the tree type. |
Fields inherited from class edu.stanford.rt.datatype.DataType |
|
Constructor Summary | |
TreeType(java.lang.String name,
java.lang.String separator,
boolean rootFirst)
Constructor for TreeType |
Method Summary | |
java.lang.String |
getSeparator()
Method getSeparator. |
boolean |
isRootFirst()
Method isRootFirst. |
boolean |
isValidValue(DataValue v)
Check if the DataValue o is a legal value for its type. |
java.lang.String |
toString(java.lang.String indent)
Method toString. |
Methods inherited from class edu.stanford.rt.datatype.DataType |
getName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String separator
private boolean rootFirst
Constructor Detail |
public TreeType(java.lang.String name, java.lang.String separator, boolean rootFirst)
Method Detail |
public boolean isRootFirst()
public java.lang.String getSeparator()
public boolean isValidValue(DataValue v)
SimpleType
isValidValue
in class SimpleType
public java.lang.String toString(java.lang.String indent)
DataType
toString
in class DataType
indent
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |