public final class SAXHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.dom4j.io.SAXReader |
getSAXReader()
Creates a new DOM4J SAXReader, with sensible defaults
|
static XMLReader |
newXMLReader()
Creates a new SAX XMLReader, with sensible defaults
|
static org.dom4j.Document |
readSAXDocument(InputStream inp)
Parses the given stream via the default (sensible)
SAX Reader
|
public static XMLReader newXMLReader() throws SAXException, ParserConfigurationException
public static org.dom4j.io.SAXReader getSAXReader()
throws org.dom4j.DocumentException
org.dom4j.DocumentExceptionpublic static org.dom4j.Document readSAXDocument(InputStream inp) throws org.dom4j.DocumentException
inp - Stream to read the XML data fromorg.dom4j.DocumentExceptionCopyright © 2019. All rights reserved.