public final class TemplateViewProcessor extends java.lang.Object implements ViewProcessor<java.lang.String>
| Constructor and Description |
|---|
TemplateViewProcessor(TemplateProcessor tp) |
public TemplateViewProcessor(TemplateProcessor tp)
public java.lang.String resolve(java.lang.String name)
ViewProcessorresolve in interface ViewProcessor<java.lang.String>name - the template namepublic void writeTo(java.lang.String t,
Viewable viewable,
java.io.OutputStream out)
throws java.io.IOException
ViewProcessorwriteTo in interface ViewProcessor<java.lang.String>t - the template reference. This is obtained by calling the
ViewProcessor.resolve(java.lang.String) method with a template name.viewable - the viewable that contains the model to be passed to the
template.out - the output stream to write the result of processing the
template.java.io.IOException - if there was an error processing the
template.Copyright © 2015 Oracle Corporation. All Rights Reserved.