|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.databinding.impl.BaseTransformer<S,T>
public abstract class BaseTransformer<S,T>
Base Implementation of Transformer which provides the registration to the transformer registry
Constructor Summary | |
---|---|
protected |
BaseTransformer()
|
Method Summary | |
---|---|
java.lang.String |
getSourceDataBinding()
Get the source type that this transformer transforms data from. |
protected abstract java.lang.Class<S> |
getSourceType()
|
java.lang.String |
getTargetDataBinding()
Get the target type that this transformer transforms data into. |
protected abstract java.lang.Class<T> |
getTargetType()
|
int |
getWeight()
Get the cost of the transformation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BaseTransformer()
Method Detail |
---|
protected abstract java.lang.Class<S> getSourceType()
protected abstract java.lang.Class<T> getTargetType()
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 |