public abstract class AbstractRenderersReturnValueTransformation<T> extends java.lang.Object implements ReturnValueTransformationWithOptions<T>
| Constructor and Description |
|---|
AbstractRenderersReturnValueTransformation(Renderers<T> renderers,
java.lang.String defaultRenderer) |
| Modifier and Type | Method and Description |
|---|---|
void |
transform(java.io.Writer output,
T arg)
Transforms the given argument into a string and appends it to the
writer.
|
void |
transform(java.io.Writer output,
T arg,
java.lang.String renderer)
Transforms the given argument into a string and appends it to the
writer.
|
public void transform(java.io.Writer output,
T arg)
throws ModuleException,
java.io.IOException
ReturnValueTransformationtransform in interface ReturnValueTransformation<T>output - writerarg - argumentModuleException - exception that could get raised during transformation
of the argument to a stringjava.io.IOException - exception that could get raised by
Writer.append(CharSequence)public void transform(java.io.Writer output,
T arg,
java.lang.String renderer)
throws ModuleException,
java.io.IOException
ReturnValueTransformationWithOptionstransform in interface ReturnValueTransformationWithOptions<T>output - writerarg - argumentrenderer - extra optionsModuleException - exception that could get raised during transformation of the argument to a stringjava.io.IOException - exception that could get raised by Writer.append(CharSequence)