Class ListUnmarshaller
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.datamodeling.unmarshallers.ListUnmarshaller
-
- All Implemented Interfaces:
ArgumentUnmarshaller
public class ListUnmarshaller extends Object
An unmarshaller that unmarshals Lists into JavaLists
.
-
-
Constructor Summary
Constructors Constructor Description ListUnmarshaller(ArgumentUnmarshaller memberUnmarshaller)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListUnmarshaller
instance()
void
typeCheck(AttributeValue value, Method setter)
Asserts that the value given can be processed using the setter given.Object
unmarshall(AttributeValue value)
Unmarshalls theAttributeValue
given into an instance of the appropriate type, as determined byDynamoDBReflector
andDynamoDBMapper
-
-
-
Constructor Detail
-
ListUnmarshaller
public ListUnmarshaller(ArgumentUnmarshaller memberUnmarshaller)
-
-
Method Detail
-
instance
public static ListUnmarshaller instance()
-
unmarshall
public Object unmarshall(AttributeValue value) throws ParseException
Description copied from interface:ArgumentUnmarshaller
Unmarshalls theAttributeValue
given into an instance of the appropriate type, as determined byDynamoDBReflector
andDynamoDBMapper
- Throws:
ParseException
- when unable to parse a date string
-
typeCheck
public void typeCheck(AttributeValue value, Method setter)
Description copied from interface:ArgumentUnmarshaller
Asserts that the value given can be processed using the setter given.- Specified by:
typeCheck
in interfaceArgumentUnmarshaller
-
-