|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xmlbeans.impl.common.DocumentHelper
public final class DocumentHelper
| Method Summary | |
|---|---|
static Document |
createDocument()
Creates a new DOM Document |
static javax.xml.parsers.DocumentBuilder |
newDocumentBuilder(XmlOptionsBean xmlOptions)
Creates a new document builder, with sensible defaults |
static Document |
readDocument(XmlOptionsBean xmlOptions,
InputSource inp)
Parses the given stream via the default (sensible) DocumentBuilder |
static Document |
readDocument(XmlOptionsBean xmlOptions,
java.io.InputStream inp)
Parses the given stream via the default (sensible) DocumentBuilder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static javax.xml.parsers.DocumentBuilder newDocumentBuilder(XmlOptionsBean xmlOptions)
xmlOptions -
java.lang.IllegalStateException - If creating the DocumentBuilder fails, e.g.
due to ParserConfigurationException.
public static Document readDocument(XmlOptionsBean xmlOptions,
java.io.InputStream inp)
throws java.io.IOException,
SAXException
inp - Stream to read the XML data from
java.io.IOException
SAXException
public static Document readDocument(XmlOptionsBean xmlOptions,
InputSource inp)
throws java.io.IOException,
SAXException
inp - sax source to read the XML data from
java.io.IOException
SAXExceptionpublic static Document createDocument()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||