|
JDOM 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jdom.input.DOMBuilder
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.
| Constructor Summary | |
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. |
|
DOMBuilder(java.lang.String adapterClass)
This creates a new DOMBuilder using the specified DOMAdapter implementation as a way to choose the underlying parser. |
|
| Method Summary | |
Document |
build(org.w3c.dom.Document domDocument)
This will build a JDOM tree from an existing DOM tree. |
Element |
build(org.w3c.dom.Element domElement)
This will build a JDOM Element from an existing DOM Element |
JDOMFactory |
getFactory()
Returns the current JDOMFactory in use. |
void |
setFactory(JDOMFactory factory)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public DOMBuilder()
public DOMBuilder(java.lang.String adapterClass)
adapterClass - String name of class
to use for DOM building.| Method Detail |
public void setFactory(JDOMFactory factory)
public JDOMFactory getFactory()
JDOMFactory in use.public Document build(org.w3c.dom.Document domDocument)
domDocument - org.w3c.dom.Document objectDocument - JDOM document object.public Element build(org.w3c.dom.Element domElement)
domElement - org.w3c.dom.Element objectElement - JDOM Element object
|
JDOM 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||