org.apache.stylebook.printers
Class HTMLPrinter

java.lang.Object
  extended by org.apache.stylebook.AbstractComponent
      extended by org.apache.stylebook.printers.HTMLPrinter
All Implemented Interfaces:
Component, Printer

public class HTMLPrinter
extends AbstractComponent
implements Printer

Version:
CVS $Revision: 313270 $ $Date: 2000-06-23 22:21:08 +0100 (Fri, 23 Jun 2000) $
Author:
Pierpaolo Fumagalli, Copyright 1999 © The Apache Software Foundation. All rights reserved.

Field Summary
 
Fields inherited from class org.apache.stylebook.AbstractComponent
engine, params
 
Constructor Summary
HTMLPrinter()
           
 
Method Summary
 void print(Document doc, CreationContext c, OutputStream out)
          Print a DOM Document.
 
Methods inherited from class org.apache.stylebook.AbstractComponent
debug, init, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.stylebook.Component
init
 

Constructor Detail

HTMLPrinter

public HTMLPrinter()
Method Detail

print

public void print(Document doc,
                  CreationContext c,
                  OutputStream out)
           throws CreationException,
                  IOException
Print a DOM Document.

Specified by:
print in interface Printer
Parameters:
doc - The Document to print.
out - The OutputStream used for printing.
env - The Environment of this printing request.
Throws:
IOException - If an I/O error occourred accessing resources.
CreationException - If the Document cannot be printed.