|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.databinding.json.JSON2JavaBean
public class JSON2JavaBean
Constructor Summary | |
---|---|
JSON2JavaBean()
|
Method Summary | |
---|---|
java.lang.String |
getSourceDataBinding()
Get the source type that this transformer transforms data from. |
java.lang.String |
getTargetDataBinding()
Get the target type that this transformer transforms data into. |
int |
getWeight()
Get the cost of the transformation. |
java.lang.Object |
transform(java.lang.Object source,
TransformationContext context)
Transform source data into the result type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSON2JavaBean()
Method Detail |
---|
public java.lang.Object transform(java.lang.Object source, TransformationContext context)
PullTransformer
transform
in interface PullTransformer<java.lang.Object,java.lang.Object>
source
- The source datacontext
- The context for the transformation
public java.lang.String getSourceDataBinding()
Transformer
getSourceDataBinding
in interface Transformer
public java.lang.String getTargetDataBinding()
Transformer
getTargetDataBinding
in interface Transformer
public int getWeight()
Transformer
getWeight
in interface Transformer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |