org.apache.stylebook.printers
Class HTMLSerializer

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

public class HTMLSerializer
extends AbstractComponent
implements Printer

Version:
CVS $Revision: 313265 $ $Date: 2000-06-06 02:03:21 +0100 (Tue, 06 Jun 2000) $
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
HTMLSerializer()
           
 
Method Summary
 void print(Document doc, CreationContext c, 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

HTMLSerializer

public HTMLSerializer()
Method Detail

print

public void print(Document doc,
                  CreationContext c,
                  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.