com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.marshallers
Class CustomMarshaller

java.lang.Object
  extended by com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.marshallers.CustomMarshaller
All Implemented Interfaces:
ArgumentMarshaller, ArgumentMarshaller.StringAttributeMarshaller

public class CustomMarshaller
extends java.lang.Object
implements ArgumentMarshaller.StringAttributeMarshaller

A marshaller that delegates to an instance of a DynamoDBMarshalling-derived custom marshaler.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.ArgumentMarshaller
ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller
 
Constructor Summary
CustomMarshaller(java.lang.Class<? extends DynamoDBMarshaller<?>> marshallerClass)
           
 
Method Summary
 AttributeValue marshall(java.lang.Object obj)
          Marshalls the object given into an AttributeValue.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomMarshaller

public CustomMarshaller(java.lang.Class<? extends DynamoDBMarshaller<?>> marshallerClass)
Method Detail

marshall

public AttributeValue marshall(java.lang.Object obj)
Description copied from interface: ArgumentMarshaller
Marshalls the object given into an AttributeValue.

Specified by:
marshall in interface ArgumentMarshaller


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.