|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.util.SAXHelper
public final class SAXHelper
Provides handy methods for working with SAX parsers and readers
Method Summary | |
---|---|
static org.dom4j.io.SAXReader |
getSAXReader()
Creates a new DOM4J SAXReader, with sensible defaults |
static org.xml.sax.XMLReader |
newXMLReader()
Creates a new SAX XMLReader, with sensible defaults |
static org.dom4j.Document |
readSAXDocument(java.io.InputStream inp)
Parses the given stream via the default (sensible) SAX Reader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.xml.sax.XMLReader newXMLReader() throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public static org.dom4j.io.SAXReader getSAXReader() throws org.dom4j.DocumentException
org.dom4j.DocumentException
public static org.dom4j.Document readSAXDocument(java.io.InputStream inp) throws org.dom4j.DocumentException
inp
- Stream to read the XML data from
org.dom4j.DocumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |