public interface ReturnValuesTransformer
ParametersTransformer.| Modifier and Type | Method and Description |
|---|---|
<T> ReturnValueTransformation<T> |
getTransformation(java.lang.Class<T> klass)
Returns an object that transforms objects of type T to strings.
|
<T> void |
transform(java.io.Writer output,
java.lang.Object arg,
java.lang.Class<T> klass)
Transforms the given argument to a string and appends it to the given
writer.
|
<T> void |
transform(java.io.Writer output,
java.lang.Object arg,
java.lang.Class<T> klass,
java.lang.String extraOptions)
Transforms the given argument to a string and appends it to the given
writer.
|
<T> ReturnValueTransformation<T> getTransformation(java.lang.Class<T> klass)
T - source type that will be transformed to a stringklass - class for source type T<T> void transform(java.io.Writer output,
java.lang.Object arg,
java.lang.Class<T> klass)
throws ModuleException,
java.io.IOException
T - source type that will be transformed to a stringoutput - writerarg - argument of class klassklass - type of given argumentModuleException - thrown when the transformation failsjava.io.IOException - thrown when the append to the writer fails<T> void transform(java.io.Writer output,
java.lang.Object arg,
java.lang.Class<T> klass,
java.lang.String extraOptions)
throws ModuleException,
java.io.IOException
T - source type that will be transformed to a stringoutput - writerarg - argument of class klassklass - type of given argumentextraOptions - extra options given to the transformationModuleException - thrown when the transformation failsjava.io.IOException - thrown when the append to the writer fails