| |
|
| java.lang.Object org.jdom.input.DOMBuilder
DOMBuilder | public class DOMBuilder (Code) | | Builds a JDOM
org.jdom.Document org.jdom.Document from a pre-existing
DOM
org.w3c.dom.Document org.w3c.dom.Document . Also handy for testing
builds from files to sanity check
SAXBuilder .
version: $Revision: 1.1 $, $Date: 2005/04/27 09:32:41 $ author: Brett McLaughlin author: Jason Hunter author: Philip Nelson author: Kevin Regan author: Yusuf Goolamabbas author: Dan Schaffer author: Bradley S. Huffman |
Constructor Summary | |
public | DOMBuilder() 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. | public | DOMBuilder(String adapterClass) This creates a new DOMBuilder using the specified DOMAdapter
implementation as a way to choose the underlying parser. |
DOMBuilder | public DOMBuilder()(Code) | | 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.
|
DOMBuilder | public DOMBuilder(String adapterClass)(Code) | | 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 classto use for DOM building. |
build | public Document build(org.w3c.dom.Document domDocument)(Code) | | This will build a JDOM tree from an existing DOM tree.
Parameters: domDocument - org.w3c.dom.Document object Document - JDOM document object. |
build | public org.jdom.Element build(org.w3c.dom.Element domElement)(Code) | | This will build a JDOM Element from an existing DOM Element
Parameters: domElement - org.w3c.dom.Element object Element - JDOM Element object |
|
|
|