Docmosis API 2.1.0

com.docmosis.demo.web
Interface SectionRenderer

All Known Implementing Classes:
FieldAsciiRenderer

public interface SectionRenderer

An interface for rendering sections of a template analysis in some sort of viewable format.


Method Summary
 void render(TemplateSection section, PrintWriter out)
          Render a section to the given print writer.
 void render(TemplateSection section, PrintWriter out, int level)
          Render a section to the given print writer at a particular indenting level.
 

Method Detail

render

public void render(TemplateSection section,
                   PrintWriter out)
Render a section to the given print writer.

Parameters:
section - the template section to render.
out - the print writer to output the text to.

render

public void render(TemplateSection section,
                   PrintWriter out,
                   int level)
Render a section to the given print writer at a particular indenting level.

Parameters:
section - the template section to render.
out - the print writer to output the text to.
level - the indenting level of the template section. The root level should be level 0.

Docmosis API 2.1.0

Copyright © 2007 Docmosis. All Rights Reserved.