org.apache.stylebook.printers
Class ImagePrinter

java.lang.Object
  extended by org.apache.stylebook.AbstractComponent
      extended by 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.

Field Summary
 
Fields inherited from class org.apache.stylebook.AbstractComponent
engine, params
 
Constructor Summary
ImagePrinter()
           
 
Method Summary
 void print(org.w3c.dom.Document doc, CreationContext ctx, java.io.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

ImagePrinter

public ImagePrinter()
Method Detail

print

public void print(org.w3c.dom.Document doc,
                  CreationContext ctx,
                  java.io.OutputStream out)
           throws CreationException,
                  java.io.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:
java.io.IOException - If an I/O error occourred accessing resources.
CreationException - If the Document cannot be printed.