com.docmosis.demo.web
Class FieldHtmlRenderer
java.lang.Object
com.docmosis.demo.web.FieldHtmlRenderer
- All Implemented Interfaces:
- NestedSectionRenderer
- public class FieldHtmlRenderer
- extends Object
- implements NestedSectionRenderer
A class for rendering fields into HTML format.
|
Method Summary |
void |
renderClose(TemplateSection section,
boolean hasSubSections,
boolean repeating,
PrintWriter out)
Render the closing portion of a section to the given print writer
at a particular indenting level. |
void |
renderOpen(TemplateSection section,
String context,
boolean hasSubSections,
boolean repeating,
PrintWriter out)
Render the opening portion of a section to the given print writer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldHtmlRenderer
public FieldHtmlRenderer()
renderOpen
public void renderOpen(TemplateSection section,
String context,
boolean hasSubSections,
boolean repeating,
PrintWriter out)
- Render the opening portion of a section to the given print writer.
- Specified by:
renderOpen in interface NestedSectionRenderer
- Parameters:
section - the template section to render.context - the context of the template section in relation
to other parent sections.hasSubSections - true if there are sub-sections to this section; false otherwise.repeating - true if the parent section is currently repeating; false otherwise.out - the print writer to output the text to.
renderClose
public void renderClose(TemplateSection section,
boolean hasSubSections,
boolean repeating,
PrintWriter out)
- Render the closing portion of a section to the given print writer
at a particular indenting level.
- Specified by:
renderClose in interface NestedSectionRenderer
- Parameters:
section - the template section to render.hasSubSections - true if there are sub-sections to this section; false otherwise.repeating - true if the parent section is currently repeating; false otherwise.out - the print writer to output the text to.
Copyright © 2007 Docmosis. All Rights Reserved.