| Modifier and Type | Field and Description |
|---|---|
boolean |
decodeStrings |
static Value |
FALSE |
static Value |
NULL |
static Value |
TRUE |
TypeType |
type |
java.lang.Object |
value |
| Constructor and Description |
|---|
ValueContainer(java.util.List<java.lang.Object> list) |
ValueContainer(java.util.Map<java.lang.String,java.lang.Object> map) |
ValueContainer(java.lang.Object value,
TypeType type,
boolean decodeStrings) |
ValueContainer(TypeType type) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
bigDecimalValue() |
java.math.BigInteger |
bigIntegerValue() |
boolean |
booleanValue() |
byte |
byteValue() |
char |
charAt(int index) |
char |
charValue() |
void |
chop() |
java.util.Currency |
currencyValue() |
java.util.Date |
dateValue() |
double |
doubleValue() |
float |
floatValue() |
int |
intValue() |
boolean |
isContainer() |
int |
length() |
long |
longValue() |
short |
shortValue() |
java.lang.String |
stringValue() |
java.lang.String |
stringValue(CharBuf charBuf) |
java.lang.String |
stringValueEncoded() |
java.lang.CharSequence |
subSequence(int start,
int end) |
<T extends java.lang.Enum> |
toEnum(java.lang.Class<T> cls) |
static java.lang.Object |
toObject(java.lang.Object o) |
java.lang.String |
toString() |
java.lang.Object |
toValue() |
TypeType |
type() |
public static final Value TRUE
public static final Value FALSE
public static final Value NULL
public java.lang.Object value
public final TypeType type
public boolean decodeStrings
public ValueContainer(java.lang.Object value,
TypeType type,
boolean decodeStrings)
public ValueContainer(TypeType type)
public ValueContainer(java.util.Map<java.lang.String,java.lang.Object> map)
public ValueContainer(java.util.List<java.lang.Object> list)
public static java.lang.Object toObject(java.lang.Object o)
public boolean booleanValue()
booleanValue in interface Valuepublic java.lang.String stringValue()
stringValue in interface Valuepublic java.lang.String stringValue(CharBuf charBuf)
stringValue in interface Valuepublic java.lang.String stringValueEncoded()
stringValueEncoded in interface Valuepublic java.lang.String toString()
toString in interface java.lang.CharSequencetoString in class java.lang.Objectpublic <T extends java.lang.Enum> T toEnum(java.lang.Class<T> cls)
public boolean isContainer()
isContainer in interface Valuepublic int length()
length in interface java.lang.CharSequencepublic char charAt(int index)
charAt in interface java.lang.CharSequencepublic java.lang.CharSequence subSequence(int start,
int end)
subSequence in interface java.lang.CharSequencepublic short shortValue()
shortValue in interface Valuepublic java.math.BigDecimal bigDecimalValue()
bigDecimalValue in interface Valuepublic java.math.BigInteger bigIntegerValue()
bigIntegerValue in interface Valuepublic double doubleValue()
doubleValue in interface Valuepublic float floatValue()
floatValue in interface Valuepublic java.util.Currency currencyValue()
currencyValue in interface ValueCopyright © 2014. All Rights Reserved.