Public Member Functions | |
DOMOutputter () | |
DOMOutputter (String adapterClass) | |
org.w3c.dom.Document | output (Document document) throws JDOMException |
org.w3c.dom.Element | output (Element element) throws JDOMException |
org.w3c.dom.Attr | output (Attribute attribute) throws JDOMException |
Protected Member Functions | |
org.w3c.dom.Element | output (Element element, org.w3c.dom.Document domDoc, NamespaceStack namespaces) throws JDOMException |
org.w3c.dom.Attr | output (Attribute attribute, org.w3c.dom.Document domDoc) throws JDOMException |
org::jdom::output::DOMOutputter::DOMOutputter | ( | ) | [inline] |
This creates a new DOMOutputter which will attempt to first locate a DOM implementation to use via JAXP, and if JAXP does not exist or there's a problem, will fall back to the default parser.
org::jdom::output::DOMOutputter::DOMOutputter | ( | String | adapterClass | ) | [inline] |
This creates a new DOMOutputter using the specified DOMAdapter implementation as a way to choose the underlying parser.
adapterClass | String name of class to use for DOM output |
org.w3c.dom.Document org::jdom::output::DOMOutputter::output | ( | Document | document | ) | throws JDOMException [inline] |
org.w3c.dom.Element org::jdom::output::DOMOutputter::output | ( | Element | element | ) | throws JDOMException [inline] |
This converts the JDOM Element
parameter to a DOM Element, returning the DOM version.
element | Element to output. |
org.w3c.dom.Element
version org.w3c.dom.Attr org::jdom::output::DOMOutputter::output | ( | Attribute | attribute | ) | throws JDOMException [inline] |
This converts the JDOM Attribute
parameter to a DOM Attr
, returning the DOM version.
attribute | Attribute to output. |
org.w3c.dom.Attr
version