Package org.apache.stylebook.printers
Class HTMLPrinter
java.lang.Object
org.apache.stylebook.AbstractComponent
org.apache.stylebook.printers.HTMLPrinter
- Version:
- CVS $Revision: 313270 $ $Date: 2000-06-23 23:21:08 +0200 (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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
print
(Document doc, CreationContext c, OutputStream out) Print a DOM Document.Methods inherited from class org.apache.stylebook.AbstractComponent
debug, init, log
-
Constructor Details
-
HTMLPrinter
public HTMLPrinter()
-
-
Method Details
-
print
public void print(Document doc, CreationContext c, OutputStream out) throws CreationException, IOException Print a DOM Document.- Specified by:
print
in interfacePrinter
- 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.
-