|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateTransformModel2
Transformations in a template data model must implement either this
interface or the TemplateTransformModel
interface.
Input to the transformation is reader from a Reader
, and
written out to a Writer
.
The detail messages of any TemplateModelException
s
thrown will be included as HTML comments in the output. Any
IOException
s are passed up to the caller of the template.
TemplateTransformModel
Method Summary | |
---|---|
void |
transform(java.io.Reader source,
java.io.Writer output)
Performs a transformation/filter on FM-Classic output. |
Methods inherited from interface freemarker.template.TemplateModel |
---|
isEmpty |
Method Detail |
---|
void transform(java.io.Reader source, java.io.Writer output) throws java.io.IOException, TemplateModelException
source
- the input to be transformedoutput
- the destination of the transformation
java.io.IOException
TemplateModelException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |