public final class XmlDocumentHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static javax.xml.parsers.DocumentBuilderFactory |
getDefaultFactory() |
static org.w3c.dom.Document |
getEmptyXmlDocument() |
static org.w3c.dom.Document |
loadDocument(java.io.InputStream is) |
static java.io.InputStream |
saveDocument(org.w3c.dom.Document document) |
public static javax.xml.parsers.DocumentBuilderFactory getDefaultFactory()
public static org.w3c.dom.Document loadDocument(java.io.InputStream is)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXExceptionjava.io.IOExceptionjavax.xml.parsers.ParserConfigurationExceptionpublic static java.io.InputStream saveDocument(org.w3c.dom.Document document)
throws javax.xml.transform.TransformerException,
java.io.IOException
javax.xml.transform.TransformerExceptionjava.io.IOExceptionpublic static org.w3c.dom.Document getEmptyXmlDocument()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException