public class ImagePrinter extends AbstractComponent implements Printer
engine, params
Constructor and Description |
---|
ImagePrinter() |
Modifier and Type | Method and Description |
---|---|
void |
print(Document doc,
CreationContext ctx,
OutputStream out)
Print a DOM Document.
|
debug, init, log
public void print(Document doc, CreationContext ctx, OutputStream out) throws CreationException, IOException
print
in interface Printer
doc
- The Document to print.out
- The OutputStream used for printing.env
- The Environment of this printing request.IOException
- If an I/O error occourred accessing resources.CreationException
- If the Document cannot be printed.