com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.unmarshallers
Class ListUnmarshaller

java.lang.Object
  extended by com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.unmarshallers.ListUnmarshaller
All Implemented Interfaces:
ArgumentUnmarshaller

public class ListUnmarshaller
extends java.lang.Object

An unmarshaller that unmarshals Lists into Java Lists.


Constructor Summary
ListUnmarshaller(ArgumentUnmarshaller memberUnmarshaller)
           
 
Method Summary
static ListUnmarshaller instance()
           
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListUnmarshaller

public ListUnmarshaller(ArgumentUnmarshaller memberUnmarshaller)
Method Detail

instance

public static ListUnmarshaller instance()

unmarshall

public java.lang.Object unmarshall(AttributeValue value)
                            throws java.text.ParseException
Description copied from interface: ArgumentUnmarshaller
Unmarshalls the AttributeValue given into an instance of the appropriate type, as determined by DynamoDBReflector and DynamoDBMapper

Throws:
java.text.ParseException - when unable to parse a date string

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.