public class ObjectUnmarshaller
extends java.lang.Object
| Constructor and Description |
|---|
ObjectUnmarshaller(ItemConverter converter,
java.lang.Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
static ObjectUnmarshaller |
instance() |
void |
typeCheck(AttributeValue value,
java.lang.reflect.Method setter)
Asserts that the value given can be processed using the setter given.
|
java.lang.Object |
unmarshall(AttributeValue value)
Unmarshalls the
AttributeValue given into an instance of the
appropriate type, as determined by DynamoDBReflector and
DynamoDBMapper |
public ObjectUnmarshaller(ItemConverter converter, java.lang.Class<?> clazz)
public static ObjectUnmarshaller instance()
public java.lang.Object unmarshall(AttributeValue value) throws java.text.ParseException
ArgumentUnmarshallerAttributeValue given into an instance of the
appropriate type, as determined by DynamoDBReflector and
DynamoDBMapperjava.text.ParseException - when unable to parse a date stringpublic void typeCheck(AttributeValue value, java.lang.reflect.Method setter)
ArgumentUnmarshallertypeCheck in interface ArgumentUnmarshaller