JDOM
2.0.5

org.jdom2.adapters
Class JAXPDOMAdapter

java.lang.Object
  extended by org.jdom2.adapters.AbstractDOMAdapter
      extended by org.jdom2.adapters.JAXPDOMAdapter
All Implemented Interfaces:
DOMAdapter

public class JAXPDOMAdapter
extends AbstractDOMAdapter

A DOMAdapter that uses JAXP to obtain a org.w3c.dom.Document instance.

This class is fully thread-safe.

Author:
Jason Hunter, Rolf Lear

Constructor Summary
JAXPDOMAdapter()
           
 
Method Summary
 org.w3c.dom.Document createDocument()
          This creates an empty Document object based on the current JAXP parser implementation.
 
Methods inherited from class org.jdom2.adapters.AbstractDOMAdapter
createDocument, setInternalSubset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXPDOMAdapter

public JAXPDOMAdapter()
Method Detail

createDocument

public org.w3c.dom.Document createDocument()
                                    throws JDOMException
This creates an empty Document object based on the current JAXP parser implementation.

Returns:
Document - created DOM Document.
Throws:
JDOMException - when errors occur in parsing.

JDOM
2.0.5

Copyright � 2013 Jason Hunter, Brett McLaughlin. All Rights Reserved.