public final class ListUnmarshaller
extends java.lang.Object
Lists
.Constructor and Description |
---|
ListUnmarshaller(ArgumentUnmarshaller memberUnmarshaller)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static ListUnmarshaller |
instance()
returns a singleton 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 |
public ListUnmarshaller(ArgumentUnmarshaller memberUnmarshaller)
memberUnmarshaller
- a ArgumentUnmarshaller
.public static ListUnmarshaller instance()
ListUnmarshaller
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
value
- the attribute value.java.text.ParseException
- when unable to parse a date stringpublic void typeCheck(AttributeValue value, java.lang.reflect.Method setter)
ArgumentUnmarshaller
typeCheck
in interface ArgumentUnmarshaller
value
- the attribute value.setter
- the method.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.