ArgumentUnmarshaller
public class ObjectUnmarshaller extends Object
Constructor | Description |
---|---|
ObjectUnmarshaller(ItemConverter converter,
Class<?> clazz) |
Modifier and Type | Method | Description |
---|---|---|
static ObjectUnmarshaller |
instance() |
|
void |
typeCheck(AttributeValue value,
Method setter) |
Asserts that the value given can be processed using the setter given.
|
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, Class<?> clazz)
public static ObjectUnmarshaller instance()
public Object unmarshall(AttributeValue value) throws ParseException
ArgumentUnmarshaller
AttributeValue
given into an instance of the
appropriate type, as determined by DynamoDbReflector
and
DynamoDbMapper
ParseException
- when unable to parse a date stringpublic void typeCheck(AttributeValue value, Method setter)
ArgumentUnmarshaller
typeCheck
in interface ArgumentUnmarshaller
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.