|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jdom.output.DOMOutputter
Takes a JDOM tree and outputs to a DOM tree.
Constructor Summary | |
---|---|
DOMOutputter()
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(java.lang.String adapterClass)
This creates a new DOMOutputter using the specified DOMAdapter implementation as a way to choose the underlying parser. |
Method Summary | |
---|---|
org.w3c.dom.Attr |
output(Attribute attribute)
Deprecated. Deprecated in Beta 9, since a DOM Attr should not be isolated from its Document; use output(Document) instead |
protected org.w3c.dom.Attr |
output(Attribute attribute,
org.w3c.dom.Document domDoc)
|
org.w3c.dom.Document |
output(Document document)
This converts the JDOM Document parameter to a
DOM Document, returning the DOM version. |
org.w3c.dom.Element |
output(Element element)
Deprecated. Deprecated in Beta 9, since a DOM Element should not be isolated from its Document; use output(Document) instead |
protected org.w3c.dom.Element |
output(Element element,
org.w3c.dom.Document domDoc,
org.jdom.output.NamespaceStack namespaces)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMOutputter()
public DOMOutputter(java.lang.String adapterClass)
adapterClass
- String
name of class
to use for DOM outputMethod Detail |
public org.w3c.dom.Document output(Document document) throws JDOMException
Document
parameter to a
DOM Document, returning the DOM version. The DOM implementation
is the one chosen in the constructor.
document
- Document
to output.
org.w3c.dom.Document
version
JDOMException
public org.w3c.dom.Element output(Element element) throws JDOMException
Element
parameter to a
DOM Element, returning the DOM version.
element
- Element
to output.
org.w3c.dom.Element
version
JDOMException
protected org.w3c.dom.Element output(Element element, org.w3c.dom.Document domDoc, org.jdom.output.NamespaceStack namespaces) throws JDOMException
JDOMException
public org.w3c.dom.Attr output(Attribute attribute) throws JDOMException
Attribute
parameter to a
DOM Attr
, returning the DOM version.
attribute
- Attribute
to output.
org.w3c.dom.Attr
version
JDOMException
protected org.w3c.dom.Attr output(Attribute attribute, org.w3c.dom.Document domDoc) throws JDOMException
JDOMException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |