|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.databinding.impl.BaseTransformer<java.lang.Object,java.lang.String> org.apache.tuscany.sca.databinding.jaxb.JAXB2String
public class JAXB2String
Constructor Summary | |
---|---|
JAXB2String()
|
Method Summary | |
---|---|
java.lang.String |
getSourceDataBinding()
Get the source type that this transformer transforms data from. |
protected java.lang.Class<java.lang.Object> |
getSourceType()
|
java.lang.String |
getTargetDataBinding()
Get the target type that this transformer transforms data into. |
protected java.lang.Class<java.lang.String> |
getTargetType()
|
int |
getWeight()
Get the cost of the transformation. |
java.lang.String |
transform(java.lang.Object source,
TransformationContext tContext)
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 JAXB2String()
Method Detail |
---|
public java.lang.String transform(java.lang.Object source, TransformationContext tContext)
PullTransformer
transform
in interface PullTransformer<java.lang.Object,java.lang.String>
source
- The source datatContext
- The context for the transformation
protected java.lang.Class<java.lang.Object> getSourceType()
getSourceType
in class BaseTransformer<java.lang.Object,java.lang.String>
protected java.lang.Class<java.lang.String> getTargetType()
getTargetType
in class BaseTransformer<java.lang.Object,java.lang.String>
public int getWeight()
Transformer
getWeight
in interface Transformer
getWeight
in class BaseTransformer<java.lang.Object,java.lang.String>
public java.lang.String getSourceDataBinding()
Transformer
getSourceDataBinding
in interface Transformer
getSourceDataBinding
in class BaseTransformer<java.lang.Object,java.lang.String>
public java.lang.String getTargetDataBinding()
Transformer
getTargetDataBinding
in interface Transformer
getTargetDataBinding
in class BaseTransformer<java.lang.Object,java.lang.String>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |