|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
UMOTransformer can be chained together to covert message payloads
from one object type to another.
| Method Summary | |
UMOTransformer |
getNextTransformer()
Transformers can be chained together and invoked in a series |
Class |
getReturnClass()
|
boolean |
isAcceptNull()
Does this transformer allow null input? |
boolean |
isSourceTypeSupported(Class aClass)
Determines if a particular source class can be handled by this transformer |
void |
setNextTransformer(UMOTransformer nextTransformer)
Transformers can be chained together and invoked in a series |
void |
setReturnClass(Class theClass)
Sets the expected return type for the transformed data. |
Object |
transform(Object src)
Thransforms the supplied data and returns the result |
| Methods inherited from interface org.mule.umo.transformer.UMOBaseTransformer |
clone, getEndpoint, getName, setEndpoint, setName |
| Methods inherited from interface org.mule.umo.lifecycle.Initialisable |
initialise |
| Method Detail |
public boolean isSourceTypeSupported(Class aClass)
aClass - The class to check for compatability
public boolean isAcceptNull()
public Object transform(Object src)
throws TransformerException
src - the data to transform
TransformerException - if a error occurs transforming the data or if the
expected returnClass isn't the same as the transformed datapublic void setReturnClass(Class theClass)
TransformerException will be
thrown.
theClass - the expected return type classpublic Class getReturnClass()
public UMOTransformer getNextTransformer()
public void setNextTransformer(UMOTransformer nextTransformer)
nextTransformer - the next transforer to invoke
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||