Docmosis API 2.1.0

com.docmosis.demo.web
Class GeneralHtmlRenderer

java.lang.Object
  extended bycom.docmosis.demo.web.GeneralHtmlRenderer

public class GeneralHtmlRenderer
extends Object

A class for general rendering of non-data specific parts of a HTML document. e.g. The HTML document start and end sections. The start and end of sections. This class is generally used for making the output HTML look better.


Constructor Summary
GeneralHtmlRenderer()
           
 
Method Summary
 void renderDocumentEnd(PrintWriter out)
          Render the end of the HTML document.
 void renderDocumentStart(String title, PrintWriter out)
          Render the start of the HTML document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralHtmlRenderer

public GeneralHtmlRenderer()
Method Detail

renderDocumentStart

public void renderDocumentStart(String title,
                                PrintWriter out)
Render the start of the HTML document.

Parameters:
title - the title of the docment that will appear on the tab, taskbar, and window title.
out - the writer to output the HTML to.

renderDocumentEnd

public void renderDocumentEnd(PrintWriter out)
Render the end of the HTML document.

Parameters:
out - the writer to output the HTML to.

Docmosis API 2.1.0

Copyright © 2007 Docmosis. All Rights Reserved.