|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tika.detect.XmlRootExtractor
public class XmlRootExtractor
Utility class that uses a SAXParser to determine
the namespace URI and local name of the root element of an XML file.
| Constructor Summary | |
|---|---|
XmlRootExtractor()
|
|
| Method Summary | |
|---|---|
javax.xml.namespace.QName |
extractRootElement(byte[] data)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlRootExtractor()
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException| Method Detail |
|---|
public javax.xml.namespace.QName extractRootElement(byte[] data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||