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 Value
public java.lang.String stringValue()
stringValue
in interface Value
public java.lang.String stringValueEncoded()
stringValueEncoded
in interface Value
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Object
public <T extends java.lang.Enum> T toEnum(java.lang.Class<T> cls)
public boolean isContainer()
isContainer
in interface Value
public int length()
length
in interface java.lang.CharSequence
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
public short shortValue()
shortValue
in interface Value
public java.math.BigDecimal bigDecimalValue()
bigDecimalValue
in interface Value
public java.math.BigInteger bigIntegerValue()
bigIntegerValue
in interface Value
public double doubleValue()
doubleValue
in interface Value
public float floatValue()
floatValue
in interface Value