org.apache.cocoon.printer
Class HTMLPrinter

java.lang.Object
  |
  +--org.apache.cocoon.printer.AbstractPrinter
        |
        +--org.apache.cocoon.printer.HTMLPrinter

public class HTMLPrinter
extends AbstractPrinter

This class implements a printer that print the DOM tree using the HTML syntax.

Version:
$Revision: 1.1 $ $Date: 1999/03/22 23:50:08 $
Author:
Stefano Mazzocchi

Fields inherited from class org.apache.cocoon.printer.AbstractPrinter
indentSpaces, lineWidth
 
Constructor Summary
HTMLPrinter()
           
 
Method Summary
 void print(org.w3c.dom.Document document, java.io.Writer out)
          Prints the DOM tree using the HTML syntax
 java.lang.String toString()
           
 
Methods inherited from class org.apache.cocoon.printer.AbstractPrinter
init
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

HTMLPrinter

public HTMLPrinter()
Method Detail

print

public void print(org.w3c.dom.Document document,
                  java.io.Writer out)
           throws java.io.IOException
Prints the DOM tree using the HTML syntax
Overrides:
print in class AbstractPrinter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Copyright (c) 1998 The Java Apache Project