org.apache.stylebook.printers
Class HTMLPrinter
java.lang.Object
org.apache.stylebook.AbstractComponent
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.
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 |
HTMLPrinter
public HTMLPrinter()
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.