org.mule.api.transformer
Interface StreamingTransformer
- All Superinterfaces:
- BaseTransformer, Disposable, Initialisable, MessageProcessor, NamedObject
public interface StreamingTransformer
- extends BaseTransformer
TODO
getNextTransformer
StreamingTransformer getNextTransformer()
- Transformers can be chained together and invoked in a series
- Returns:
- the next transformer to invoke after this one
setNextTransformer
void setNextTransformer(StreamingTransformer nextTransformer)
- Transformers can be chained together and invoked in a series
- Parameters:
nextTransformer - the next transforer to invoke
transform
Object transform(InputStream src,
OutputStream dest,
String encoding)
throws TransformerException
- Thransforms the supplied data and returns the result
- Parameters:
src - the inputStreamencoding - the encoding to use in this transformation (if necessary)
- Returns:
- the transformed data
- Throws:
TransformerException - if a error occurs transforming the data or if the
expected returnClass isn't the same as the transformed data
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.