|
|||||||||
| Home >> All >> javax >> xml >> transform >> [ dom overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.xml.transform.dom
Class DOMResult

java.lang.Objectjavax.xml.transform.dom.DOMResult
- All Implemented Interfaces:
- javax.xml.transform.Result
- public class DOMResult
- extends java.lang.Object
- implements javax.xml.transform.Result
- extends java.lang.Object
Output result specified as a W3C DOM object graph.
The result tree may be appended to an existing tree.
If no target node is specified, the result tree will be made available by
the getNode() 55 method after the transformation.
| Field Summary | |
static java.lang.String |
FEATURE
Factory feature indicating that DOM results are supported. |
private org.w3c.dom.Node |
nextSibling
|
private org.w3c.dom.Node |
node
|
private java.lang.String |
systemId
|
| Fields inherited from interface javax.xml.transform.Result |
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
| Constructor Summary | |
DOMResult()
Default constructor. |
|
DOMResult(org.w3c.dom.Node node)
Constructor with the node to append to. |
|
DOMResult(org.w3c.dom.Node node,
org.w3c.dom.Node nextSibling)
Constructor with the node to append to and the child node before which the result should be appended. |
|
DOMResult(org.w3c.dom.Node node,
org.w3c.dom.Node nextSibling,
java.lang.String systemID)
Constructor with the node to append to, the child node before which the result should be appended, and the system ID. |
|
DOMResult(org.w3c.dom.Node node,
java.lang.String systemID)
Constructor with the node to append to and the system ID. |
|
| Method Summary | |
org.w3c.dom.Node |
getNextSibling()
Returns the child node before which the result nodes will be inserted. |
org.w3c.dom.Node |
getNode()
Returns the node to which the result tree is to be appended, or the result tree after transformation if no node was previously set. |
java.lang.String |
getSystemId()
Returns the system ID used to resolve external entities. |
void |
setNextSibling(org.w3c.dom.Node nextSibling)
Sets the child node before which the result nodes will be inserted. |
void |
setNode(org.w3c.dom.Node node)
Sets the node to which the result tree will be appended. |
void |
setSystemId(java.lang.String systemId)
Sets the system ID used to resolve external entities. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
FEATURE
public static final java.lang.String FEATURE
- Factory feature indicating that DOM results are supported.
- See Also:
- Constant Field Values
node
private org.w3c.dom.Node node
nextSibling
private org.w3c.dom.Node nextSibling
systemId
private java.lang.String systemId
| Constructor Detail |
DOMResult
public DOMResult()
- Default constructor.
DOMResult
public DOMResult(org.w3c.dom.Node node)
- Constructor with the node to append to.
DOMResult
public DOMResult(org.w3c.dom.Node node, org.w3c.dom.Node nextSibling)
- Constructor with the node to append to and the child node before which
the result should be appended.
- Since:
- 1.3
DOMResult
public DOMResult(org.w3c.dom.Node node, java.lang.String systemID)
- Constructor with the node to append to and the system ID.
DOMResult
public DOMResult(org.w3c.dom.Node node, org.w3c.dom.Node nextSibling, java.lang.String systemID)
- Constructor with the node to append to, the child node before which
the result should be appended, and the system ID.
- Since:
- 1.3
| Method Detail |
setNode
public void setNode(org.w3c.dom.Node node)
- Sets the node to which the result tree will be appended.
getNode
public org.w3c.dom.Node getNode()
- Returns the node to which the result tree is to be appended,
or the result tree after transformation if no node was previously set.
setNextSibling
public void setNextSibling(org.w3c.dom.Node nextSibling)
- Sets the child node before which the result nodes will be inserted.
- Since:
- 1.3
getNextSibling
public org.w3c.dom.Node getNextSibling()
- Returns the child node before which the result nodes will be inserted.
- Since:
- 1.3
setSystemId
public void setSystemId(java.lang.String systemId)
- Sets the system ID used to resolve external entities.
- Specified by:
setSystemIdin interfacejavax.xml.transform.Result
getSystemId
public java.lang.String getSystemId()
- Returns the system ID used to resolve external entities.
- Specified by:
getSystemIdin interfacejavax.xml.transform.Result
|
|||||||||
| Home >> All >> javax >> xml >> transform >> [ dom overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
javax.xml.transform.dom.DOMResult