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