org.apache.xmlbeans.impl.common
Class LoadSaveUtils

java.lang.Object
  extended by org.apache.xmlbeans.impl.common.LoadSaveUtils

public class LoadSaveUtils
extends java.lang.Object


Constructor Summary
LoadSaveUtils()
           
 
Method Summary
static void xmlStreamReader2XmlText(javax.xml.stream.XMLStreamReader xsr, java.io.OutputStream os)
           
static Document xmlText2GenericDom(java.io.InputStream is, Document emptyDoc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadSaveUtils

public LoadSaveUtils()
Method Detail

xmlText2GenericDom

public static Document xmlText2GenericDom(java.io.InputStream is,
                                          Document emptyDoc)
                                   throws SAXException,
                                          javax.xml.parsers.ParserConfigurationException,
                                          java.io.IOException
Throws:
SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException

xmlStreamReader2XmlText

public static void xmlStreamReader2XmlText(javax.xml.stream.XMLStreamReader xsr,
                                           java.io.OutputStream os)
                                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException