Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.annotations
Class NullDataConverter

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.flow.DataConverter
      extended by com.amazonaws.services.simpleworkflow.flow.annotations.NullDataConverter

public final class NullDataConverter
extends DataConverter

To be used only by annotations as they do not support null parameters.

See Also:
Activities, Workflow

Method Summary
<T> T
fromData(String content, Class<T> valueType)
          Implements conversion of the single value.
 String toData(Object value)
          Implements conversion of the single value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fromData

public <T> T fromData(String content,
                      Class<T> valueType)
           throws DataConverterException
Description copied from class: DataConverter
Implements conversion of the single value.

Specified by:
fromData in class DataConverter
Returns:
converted Java object
Throws:
DataConverterException - if conversion of the data passed as parameter failed for any reason.

toData

public String toData(Object value)
              throws DataConverterException
Description copied from class: DataConverter
Implements conversion of the single value.

Specified by:
toData in class DataConverter
Parameters:
value - Java value to convert to String.
Returns:
converted value
Throws:
DataConverterException - if conversion of the value passed as parameter failed for any reason.


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