|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateOutput<B extends TemplateBlock>
Output for a template.
Method Summary | |
---|---|
void |
redirect(B block,
java.io.Writer writer)
Redirect the template output to a specified writer. |
void |
write(B block)
Write a block of template code to the output. |
void |
write(java.lang.String value)
Write a value to the template output. |
Method Detail |
---|
void redirect(B block, java.io.Writer writer) throws java.io.IOException, TemplateException
block
- The block to redirect.writer
- The writer to which to redirect the output.
java.io.IOException
TemplateException
void write(B block) throws java.io.IOException, TemplateException
block
- The block of template code to write.
java.io.IOException
TemplateException
void write(java.lang.String value) throws java.io.IOException, TemplateException
value
- The value to write.
java.io.IOException
TemplateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |