public class NullableUnmarshaller extends java.lang.Object implements ArgumentUnmarshaller
Modifier and Type | Field and Description |
---|---|
private ArgumentUnmarshaller |
wrapped |
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 |
private final ArgumentUnmarshaller wrapped
public NullableUnmarshaller(ArgumentUnmarshaller wrapped)
public void typeCheck(AttributeValue value, java.lang.reflect.Method setter)
ArgumentUnmarshaller
typeCheck
in interface ArgumentUnmarshaller
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
unmarshall
in interface ArgumentUnmarshaller
java.text.ParseException
- when unable to parse a date string