org.apache.stylebook.printers
Class XMLPrinter

java.lang.Object
  extended by org.apache.stylebook.AbstractComponent
      extended by org.apache.stylebook.printers.XMLPrinter
All Implemented Interfaces:
Component, Printer

public class XMLPrinter
extends AbstractComponent
implements Printer

The XMLPrinter Printer writes documents in their canonical XML form.

Version:
CVS $Revision: 313195 $ $Date: 1999-11-15 22:08:18 +0000 (Mon, 15 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
XMLPrinter()
           
 
Method Summary
 void print(org.w3c.dom.Document doc, CreationContext c, 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

XMLPrinter

public XMLPrinter()
Method Detail

print

public void print(org.w3c.dom.Document doc,
                  CreationContext c,
                  java.io.OutputStream out)
           throws CreationException,
                  java.io.IOException
Print a DOM Document.

Specified by:
print in interface Printer
Throws:
CreationException
java.io.IOException