com.xmlmind.whc
Class SaveDocument

java.lang.Object
  extended by com.xmlmind.whc.SaveDocument

public final class SaveDocument
extends java.lang.Object

Not part of the public documented API: helper class used to save XHTML documents.


Method Summary
static void saveXHTML(org.w3c.dom.Document doc, java.io.File outFile)
           
static void saveXHTML(org.w3c.dom.Document doc, java.io.File outFile, java.lang.String charset)
           
static void saveXHTML(org.w3c.dom.Document doc, java.io.File outFile, java.lang.String charset, boolean savePI)
           
static java.lang.String xhtmlToString(org.w3c.dom.Node xhtmlContainer)
           
static java.lang.String xhtmlToString(org.w3c.dom.Node xhtmlContainer, boolean savePI)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

saveXHTML

public static void saveXHTML(org.w3c.dom.Document doc,
                             java.io.File outFile)
                      throws java.io.IOException
Throws:
java.io.IOException

saveXHTML

public static void saveXHTML(org.w3c.dom.Document doc,
                             java.io.File outFile,
                             java.lang.String charset)
                      throws java.io.IOException
Throws:
java.io.IOException

saveXHTML

public static void saveXHTML(org.w3c.dom.Document doc,
                             java.io.File outFile,
                             java.lang.String charset,
                             boolean savePI)
                      throws java.io.IOException
Throws:
java.io.IOException

xhtmlToString

public static java.lang.String xhtmlToString(org.w3c.dom.Node xhtmlContainer)

xhtmlToString

public static java.lang.String xhtmlToString(org.w3c.dom.Node xhtmlContainer,
                                             boolean savePI)