com.monad.homerun.util
Class DocWriter

java.lang.Object
  extended by com.monad.homerun.util.DocWriter

public class DocWriter
extends java.lang.Object

DocWriter has a static method for writing XML documents with a writer


Constructor Summary
DocWriter()
           
 
Method Summary
static void writeDocToStream(org.w3c.dom.Document doc, java.io.Writer out)
          Writes a document to a stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocWriter

public DocWriter()
Method Detail

writeDocToStream

public static void writeDocToStream(org.w3c.dom.Document doc,
                                    java.io.Writer out)
                             throws java.io.IOException
Writes a document to a stream

Parameters:
doc - the XML docuument to write
out - the output stream to write to
Throws:
java.io.IOException


Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.