This class is fully thread-safe.
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadLocal | localbuilder
Use a Thread-local for keeping a single instance of a DocumentBuilder in memory. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Document | Returns: Document - created DOM Document.Implements org. Document object based
on the current JAXP parser implementation.
|
| localbuilder | back to summary |
|---|---|
| private static final ThreadLocal<DocumentBuilder> localbuilder Use a Thread-local for keeping a single instance of a DocumentBuilder in memory. Thread-safe this way. | |
| JAXPDOMAdapter | back to summary |
|---|---|
| public JAXPDOMAdapter() | |
| createDocument | back to summary |
|---|---|
| public Document createDocument() throws JDOMException Implements org. This creates an empty
| |