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