| Modifier and Type | Field and Description |
|---|---|
boolean |
decodeStrings |
static Value |
FALSE |
static Value |
NULL |
static Value |
TRUE |
Type |
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,
Type type,
boolean decodeStrings) |
ValueContainer(Type 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.Date |
dateValue() |
double |
doubleValue() |
float |
floatValue() |
int |
intValue() |
boolean |
isContainer() |
int |
length() |
long |
longValue() |
short |
shortValue() |
java.lang.String |
stringValue() |
java.lang.String |
stringValueEncoded() |
java.lang.CharSequence |
subSequence(int start,
int end) |
<T extends java.lang.Enum> |
toEnum(java.lang.Class<T> cls) |
java.lang.String |
toString() |
java.lang.Object |
toValue() |
public static final Value TRUE
public static final Value FALSE
public static final Value NULL
public java.lang.Object value
public Type type
public boolean decodeStrings
public ValueContainer(java.lang.Object value,
Type type,
boolean decodeStrings)
public ValueContainer(Type type)
public ValueContainer(java.util.Map<java.lang.String,java.lang.Object> map)
public ValueContainer(java.util.List<java.lang.Object> list)
public boolean booleanValue()
booleanValue in interface Valuepublic java.lang.String stringValue()
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 Value