javax.xml.transform.dom
Class DOMSource
java.lang.Objectjavax.xml.transform.dom.DOMSource
- Source
public class DOMSource
extends java.lang.Object
An XML source specified as a W3C DOM node context.
static String | FEATURE- Factory feature indicating that DOM sources are supported.
|
Node | getNode()- Returns the context node.
|
String | getSystemId()- Returns the base URI to use as the context for resolving entities.
|
void | setNode(Node node)- Sets the context node.
|
void | setSystemId(String systemId)- Sets the base URI to use as the context for resolving entities.
|
FEATURE
public static final String FEATURE
Factory feature indicating that DOM sources are supported.
DOMSource
public DOMSource()
Default constructor.
DOMSource
public DOMSource(Node node)
Constructor with a context node.
DOMSource
public DOMSource(Node node,
String systemId) Constructor with a context node and system ID.
getNode
public Node getNode()
Returns the context node.
getSystemId
public String getSystemId()
Returns the base URI to use as the context for resolving entities.
- getSystemId in interface Source
setNode
public void setNode(Node node)
Sets the context node.
setSystemId
public void setSystemId(String systemId)
Sets the base URI to use as the context for resolving entities.
- setSystemId in interface Source