com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.unmarshallers
Class CustomUnmarshaller
java.lang.Object
com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.unmarshallers.CustomUnmarshaller
- All Implemented Interfaces:
- ArgumentUnmarshaller
public class CustomUnmarshaller
- extends java.lang.Object
An unmarshaller that delegates to an instance of a
DynamoDBMarshaller-derived custom marshaler.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomUnmarshaller
public CustomUnmarshaller(java.lang.Class<?> targetClass,
java.lang.Class<? extends DynamoDBMarshaller<?>> unmarshallerClass)
unmarshall
public java.lang.Object unmarshall(AttributeValue value)
- Description copied from interface:
ArgumentUnmarshaller
- Unmarshalls the
AttributeValue given into an instance of the
appropriate type, as determined by DynamoDBReflector and
DynamoDBMapper
typeCheck
public void typeCheck(AttributeValue value,
java.lang.reflect.Method setter)
- Description copied from interface:
ArgumentUnmarshaller
- Asserts that the value given can be processed using the setter given.
- Specified by:
typeCheck in interface ArgumentUnmarshaller
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.