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 CLASSPATH
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static Document | |
| public static XMLReader | Returns: DOCUMENT ME!DOCUMENT ME! validating, boolean DOCUMENT ME! namespaceAware)This method attempts to use JAXP to locate the SAX2 XMLReader implementation. |
| JAXPHelper | back to summary |
|---|---|
| protected JAXPHelper() | |
| createDocument | back to summary |
|---|---|
| public static Document createDocument(boolean validating, boolean namespaceAware) throws Exception | |
| createXMLReader | back to summary |
|---|---|
| public static XMLReader createXMLReader(boolean validating, boolean namespaceAware) throws Exception This method attempts to use JAXP to locate the SAX2 XMLReader implementation. This method uses reflection to avoid being dependent directly on the JAXP classes. | |