public class NullableUnmarshaller extends java.lang.Object implements ArgumentUnmarshaller
| Constructor and Description |
|---|
NullableUnmarshaller(ArgumentUnmarshaller wrapped) |
| Modifier and Type | Method and Description |
|---|---|
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 NullableUnmarshaller(ArgumentUnmarshaller wrapped)
public void typeCheck(AttributeValue value, java.lang.reflect.Method setter)
ArgumentUnmarshallertypeCheck in interface ArgumentUnmarshallerpublic java.lang.Object unmarshall(AttributeValue value) throws java.text.ParseException
ArgumentUnmarshallerAttributeValue given into an instance of the
appropriate type, as determined by DynamoDBReflector and
DynamoDBMapperunmarshall in interface ArgumentUnmarshallerjava.text.ParseException - when unable to parse a date string