public class CustomUnmarshaller extends Object
DynamoDBMarshaller
-derived custom marshaler.Constructor and Description |
---|
CustomUnmarshaller(Class<?> targetClass,
Class<? extends DynamoDBMarshaller<?>> unmarshallerClass) |
Modifier and Type | Method and Description |
---|---|
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 CustomUnmarshaller(Class<?> targetClass, Class<? extends DynamoDBMarshaller<?>> unmarshallerClass)
public Object unmarshall(AttributeValue value)
ArgumentUnmarshaller
AttributeValue
given into an instance of the
appropriate type, as determined by DynamoDBReflector
and
DynamoDBMapper
public void typeCheck(AttributeValue value, Method setter)
ArgumentUnmarshaller
typeCheck
in interface ArgumentUnmarshaller
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.