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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chars, codePoints
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 Value
public String stringValue()
stringValue
in interface Value
public String stringValueEncoded()
stringValueEncoded
in interface Value
public String toString()
toString
in interface CharSequence
toString
in class Object
public boolean isContainer()
isContainer
in interface Value
public int length()
length
in interface CharSequence
public char charAt(int index)
charAt
in interface CharSequence
public CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
public short shortValue()
shortValue
in interface Value
public BigDecimal bigDecimalValue()
bigDecimalValue
in interface Value
public BigInteger bigIntegerValue()
bigIntegerValue
in interface Value
public double doubleValue()
doubleValue
in interface Value
public float floatValue()
floatValue
in interface Value