|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.visualization.datasource.datatable.value.Value
com.google.visualization.datasource.datatable.value.TextValue
public class TextValue
A value of type text (string).
| Constructor Summary | |
|---|---|
TextValue(java.lang.String value)
Creates a new text cell. |
|
| Method Summary | |
|---|---|
int |
compareTo(Value other)
Compares this value to another value of the same type. |
static TextValue |
getNullValue()
Static method to return the null value (same one for all calls). |
java.lang.String |
getObjectToFormat()
Uses an ibm.icu.text.UFormat instance to format Values. |
static java.util.Comparator<TextValue> |
getTextLocalizedComparator(com.ibm.icu.util.ULocale ulocale)
Returns a comparator that compares text values according to a given locale. |
ValueType |
getType()
Returns the type of this cell. |
java.lang.String |
getValue()
Returns the text value. |
int |
hashCode()
Returns a hash code for this string value. |
protected java.lang.String |
innerToQueryString()
Returns a string that, when parsed by the query parser, should return an identical value. |
boolean |
isNull()
Tests whether this cell's value is logical null. |
java.lang.String |
toString()
Returns the text. |
| Methods inherited from class com.google.visualization.datasource.datatable.value.Value |
|---|
equals, getLocalizedComparator, getNullValueFromValueType, toQueryString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextValue(java.lang.String value)
value - The cell's value.| Method Detail |
|---|
public ValueType getType()
Value
getType in class Valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic static TextValue getNullValue()
public boolean isNull()
isNull in class Valuepublic int compareTo(Value other)
other - Other value.
public int hashCode()
hashCode in class Valuepublic java.lang.String getObjectToFormat()
Value
getObjectToFormat in class Valuepublic static java.util.Comparator<TextValue> getTextLocalizedComparator(com.ibm.icu.util.ULocale ulocale)
ulocale - The ulocale defining the order relation for text values.
public java.lang.String getValue()
protected java.lang.String innerToQueryString()
innerToQueryString in class Value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||