Main Page | Class Hierarchy | Class List | Class Members

org::jdom::input::DOMBuilder Class Reference

List of all members.

Public Member Functions

 DOMBuilder ()
 DOMBuilder (String adapterClass)
void setFactory (JDOMFactory factory)
JDOMFactory getFactory ()
Document build (org.w3c.dom.Document domDocument)
org.jdom.Element build (org.w3c.dom.Element domElement)

Detailed Description

Builds a JDOM org.jdom.Document from a pre-existing DOM org.w3c.dom.Document. Also handy for testing builds from files to sanity check SAXBuilder.

Version:
Revision
1.59
,
Date
2004/09/03 06:03:41
Author:
Brett McLaughlin

Jason Hunter

Philip Nelson

Kevin Regan

Yusuf Goolamabbas

Dan Schaffer

Bradley S. Huffman


Constructor & Destructor Documentation

org::jdom::input::DOMBuilder::DOMBuilder  )  [inline]
 

This creates a new DOMBuilder which will attempt to first locate a parser via JAXP, then will try to use a set of default parsers. The underlying parser will not validate.

org::jdom::input::DOMBuilder::DOMBuilder String  adapterClass  )  [inline]
 

This creates a new DOMBuilder using the specified DOMAdapter implementation as a way to choose the underlying parser. The underlying parser will not validate.

Parameters:
adapterClass String name of class to use for DOM building.


Member Function Documentation

org.jdom.Element org::jdom::input::DOMBuilder::build org.w3c.dom.Element  domElement  )  [inline]
 

This will build a JDOM Element from an existing DOM Element

Parameters:
domElement  org.w3c.dom.Element object
Returns:
Element - JDOM Element object

Document org::jdom::input::DOMBuilder::build org.w3c.dom.Document  domDocument  )  [inline]
 

This will build a JDOM tree from an existing DOM tree.

Parameters:
domDocument org.w3c.dom.Document object
Returns:
Document - JDOM document object.

JDOMFactory org::jdom::input::DOMBuilder::getFactory  )  [inline]
 

Returns the current org.jdom.JDOMFactory in use.

Returns:
the factory in use


The documentation for this class was generated from the following file:
Generated on Thu Dec 9 10:42:05 2004 for JDOM by  doxygen 1.3.9.1