Docmosis API 2.1.0

com.docmosis.demo.web
Class FieldAsciiRenderer

java.lang.Object
  extended bycom.docmosis.demo.web.FieldAsciiRenderer
All Implemented Interfaces:
SectionRenderer

public class FieldAsciiRenderer
extends Object
implements SectionRenderer


Constructor Summary
FieldAsciiRenderer()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldAsciiRenderer

public FieldAsciiRenderer()
Method Detail

render

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

Specified by:
render in interface SectionRenderer
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.

Specified by:
render in interface SectionRenderer
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.