org::jdom::output::DOMOutputter Class Reference

List of all members.

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

Detailed Description

Takes a JDOM tree and outputs to a DOM tree.

Author:
Brett McLaughlin

Jason Hunter

Matthew Merlo

Dan Schaffer

Yusuf Goolamabbas

Bradley S. Huffman

Version:
Revision
1.33
,
Date
2003/04/06 02:00:44


Constructor & Destructor Documentation

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.

Parameters:
adapterClass String name of class to use for DOM output


Member Function Documentation

org.w3c.dom.Document org::jdom::output::DOMOutputter::output ( Document  document  )  throws JDOMException [inline]

This converts the JDOM Document parameter to a DOM Document, returning the DOM version. The DOM implementation is the one chosen in the constructor.

Parameters:
document Document to output.
Returns:
an org.w3c.dom.Document version

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.

Parameters:
element Element to output.
Returns:
an org.w3c.dom.Element version
Deprecated:
Deprecated in Beta 9, since a DOM Element should not be isolated from its Document; use output(Document) instead

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.

Parameters:
attribute Attribute to output.
Returns:
an org.w3c.dom.Attr version
Deprecated:
Deprecated in Beta 9, since a DOM Attr should not be isolated from its Document; use output(Document) instead


The documentation for this class was generated from the following file:
Generated on Sun Nov 5 16:02:38 2006 for JDOM by  doxygen 1.5.1