Package org.apache.stylebook.printers
Class ImagePrinter
java.lang.Object
org.apache.stylebook.AbstractComponent
org.apache.stylebook.printers.ImagePrinter
The ImagePrinter Printer writes images.
- Version:
- CVS $Revision: 313202 $ $Date: 1999-11-30 13:28:55 +0100 (Tue, 30 Nov 1999) $
- 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 ctx, OutputStream out) Print a DOM Document.Methods inherited from class org.apache.stylebook.AbstractComponent
debug, init, log
-
Constructor Details
-
ImagePrinter
public ImagePrinter()
-
-
Method Details
-
print
public void print(Document doc, CreationContext ctx, 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.
-