Main Page   Packages   Namespace List   Class Hierarchy   Compound List   Compound Members  

DOMOutputter Class Reference

List of all members.

Public Methods

 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 Methods

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.28
,
Date:
2002/02/12 06:15:21


Constructor & Destructor Documentation

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.

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.Attr DOMOutputter::output Attribute    attribute [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

org.w3c.dom.Element DOMOutputter::output Element    element [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

org.w3c.dom.Document DOMOutputter::output Document    document [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


The documentation for this class was generated from the following file:
Generated on Sat Mar 30 18:53:03 2002 for JDOM by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001