|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.simpleworkflow.flow.DataConverter
public abstract class DataConverter
Used by the framework to serialize/deserialize method parameters that need to be sent over the wire.
| Constructor Summary | |
|---|---|
DataConverter()
|
|
| Method Summary | ||
|---|---|---|
abstract
|
fromData(java.lang.String content,
java.lang.Class<T> valueType)
Implements conversion of the single value. |
|
abstract java.lang.String |
toData(java.lang.Object value)
Implements conversion of the single value. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataConverter()
| Method Detail |
|---|
public abstract java.lang.String toData(java.lang.Object value)
throws DataConverterException
value - Java value to convert to String.
DataConverterException - if conversion of the value passed as parameter failed for any
reason.
public abstract <T> T fromData(java.lang.String content,
java.lang.Class<T> valueType)
throws DataConverterException
data - Simple Workflow Data value to convert to a Java object.
DataConverterException - if conversion of the data passed as parameter failed for any
reason.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||