javax.xml.transform.dom
public class DOMResult extends Object implements Result
Field Summary | |
---|---|
static String | FEATURE If TransformerFactory
returns true when passed this value as an argument,
the Transformer supports Result output of this type. |
Constructor Summary | |
---|---|
DOMResult()
Zero-argument default constructor. | |
DOMResult(Node node)
Use a DOM node to create a new output target. | |
DOMResult(Node node, String systemID)
Create a new output target with a DOM node. |
Method Summary | |
---|---|
Node | getNode()
Get the node that will contain the result DOM tree.
|
String | getSystemId()
Get the system identifier that was set with setSystemId.
|
void | setNode(Node node)
Set the node that will contain the result DOM tree. |
void | setSystemId(String systemId)
Method setSystemId Set the systemID that may be used in association
with the node.
|
Parameters: n The DOM node that will contain the result tree.
Parameters: node The DOM node that will contain the result tree. systemID The system identifier which may be used in association with this node.
Returns: The node to which the transformation will be appended.
Returns: The system identifier that was set with setSystemId, or null if setSystemId was not called.
Parameters: node The node to which the transformation will be appended.
Parameters: systemId The system identifier as a URI string.