|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateProcessor
Web Script Template Processor
Method Summary | |
---|---|
String |
getDefaultEncoding()
Gets the default encoding |
boolean |
hasTemplate(String template)
Determines if a template exists |
void |
process(String template,
Object model,
Writer out)
Process a template against the supplied data model and write to the out. |
void |
processString(String template,
Object model,
Writer out)
Process a string template against the supplied data model and write to the out. |
void |
reset()
Reset the Template Processor |
Method Detail |
---|
boolean hasTemplate(String template)
template
-
void process(String template, Object model, Writer out)
template
- Template name/pathmodel
- Object model to process template againstout
- Writer object to send output toovoid processString(String template, Object model, Writer out)
template
- Template stringmodel
- Object model to process template againstout
- Writer object to send output tooString getDefaultEncoding()
void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |