class JAXPHelper extends Object
JAXPHelper
contains some helper methods for working with
JAXP. These methods are kept in a seperate class to avoid class loading
issues, such that dom4j can work without JAXP on the CLASSPATHConstructor and Description |
---|
JAXPHelper() |
Modifier and Type | Method and Description |
---|---|
static Document |
createDocument(boolean validating,
boolean namespaceAware) |
static XMLReader |
createXMLReader(boolean validating,
boolean namespaceAware)
This method attempts to use JAXP to locate the
SAX2 XMLReader implementation.
|
JAXPHelper()
public static XMLReader createXMLReader(boolean validating, boolean namespaceAware) throws Exception
Exception
public static Document createDocument(boolean validating, boolean namespaceAware) throws Exception
Exception
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses