net.sourceforge.groboutils.codecoverage.v2.report
Class OutputXml

java.lang.Object
  extended bynet.sourceforge.groboutils.codecoverage.v2.report.OutputXml

public class OutputXml
extends java.lang.Object

Writes the XML document to an output stream.

Since:
March 15, 2004
Version:
$Date: 2004/04/15 05:48:26 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Field Summary
static java.lang.String DEFAULT_ENCODING
           
 
Constructor Summary
OutputXml()
           
 
Method Summary
 void write(org.w3c.dom.Element rootEl, java.io.Writer out, java.lang.String encoding)
          Sends the XML document to out using the given module and data set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ENCODING

public static final java.lang.String DEFAULT_ENCODING
See Also:
Constant Field Values
Constructor Detail

OutputXml

public OutputXml()
Method Detail

write

public void write(org.w3c.dom.Element rootEl,
                  java.io.Writer out,
                  java.lang.String encoding)
           throws java.io.IOException
Sends the XML document to out using the given module and data set.

Parameters:
rootEl - the root element of the XML document.
out - the output stream to send the XML document. The writer is not closed by this method.
encoding - the output encoding of the given writer. Defaults to UTF-8.
Returns:
the root element generated.
Throws:
java.io.IOException


Copyright © 2001-2003 by The GroboUtils Project