public class XmlRootExtractor
extends java.lang.Object
SAXParser
to determine
the namespace URI and local name of the root element of an XML file.Modifier and Type | Class and Description |
---|---|
private static class |
XmlRootExtractor.ExtractorHandler |
Constructor and Description |
---|
XmlRootExtractor() |
Modifier and Type | Method and Description |
---|---|
javax.xml.namespace.QName |
extractRootElement(byte[] data) |
javax.xml.namespace.QName |
extractRootElement(java.io.InputStream stream) |