public class ObjectUnmarshaller extends MUnmarshaller
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<?> |
clazz |
private ItemConverter |
converter |
private static ObjectUnmarshaller |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
ObjectUnmarshaller() |
|
ObjectUnmarshaller(ItemConverter converter,
java.lang.Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
static ObjectUnmarshaller |
instance() |
java.lang.Object |
unmarshall(AttributeValue value)
Unmarshalls the
AttributeValue given into an instance of the
appropriate type, as determined by DynamoDBReflector and
DynamoDBMapper |
typeCheck
private static final ObjectUnmarshaller INSTANCE
private final ItemConverter converter
private final java.lang.Class<?> clazz
private ObjectUnmarshaller()
public ObjectUnmarshaller(ItemConverter converter, java.lang.Class<?> clazz)
public static ObjectUnmarshaller instance()
public java.lang.Object unmarshall(AttributeValue value) throws java.text.ParseException
ArgumentUnmarshaller
AttributeValue
given into an instance of the
appropriate type, as determined by DynamoDBReflector
and
DynamoDBMapper
java.text.ParseException
- when unable to parse a date string