org.apache.stylebook.printers
Class ImagePrinter
java.lang.Object
org.apache.stylebook.AbstractComponent
org.apache.stylebook.printers.ImagePrinter
- All Implemented Interfaces:
- Component, Printer
public class ImagePrinter
- extends AbstractComponent
- implements Printer
The ImagePrinter Printer writes images.
- Version:
- CVS $Revision: 313202 $ $Date: 1999-11-30 12:28:55 +0000 (Tue, 30 Nov 1999) $
- 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 |
ImagePrinter
public ImagePrinter()
print
public void print(Document doc,
CreationContext ctx,
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.