public class TypedValue extends Object
getClass()
call on the object.Modifier and Type | Field and Description |
---|---|
static TypedValue |
NULL |
Constructor and Description |
---|
TypedValue(Object value)
Create a TypedValue for a simple object.
|
TypedValue(Object value,
org.springframework.core.convert.TypeDescriptor typeDescriptor)
Create a TypedValue for a particular value with a particular type descriptor.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.core.convert.TypeDescriptor |
getTypeDescriptor() |
Object |
getValue() |
String |
toString() |
public static final TypedValue NULL
public TypedValue(Object value)
value
- the object valuepublic TypedValue(Object value, org.springframework.core.convert.TypeDescriptor typeDescriptor)
value
- the object valuetypeDescriptor
- a type descriptor describing the type of the value