org.xpresso.xml.output
Class Outputter

java.lang.Object
  extended by org.xpresso.xml.output.Outputter

public class Outputter
extends java.lang.Object

Outputter make the XML content of the Document available by various means.

This code is under the LGPL v3 licence.

Author:
Alexis Dufrenoy

Constructor Summary
Outputter()
           
 
Method Summary
 void output(Document document, java.io.OutputStream stream)
          Make it possible to output the Document in a Outputstream
 void output(Document document, java.io.Writer writer)
          Make it possible to output the Document in a Writer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Outputter

public Outputter()
Method Detail

output

public void output(Document document,
                   java.io.Writer writer)
            throws java.io.IOException
Make it possible to output the Document in a Writer

Parameters:
document - The document
writer -
Throws:
java.io.IOException

output

public void output(Document document,
                   java.io.OutputStream stream)
            throws java.io.IOException
Make it possible to output the Document in a Outputstream

Parameters:
document -
stream -
Throws:
java.io.IOException