Class 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.

    • Constructor Detail

      • JAXPDOMAdapter

        public JAXPDOMAdapter()
    • Method Detail

      • createDocument

        public 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.