public class DOMSource extends java.lang.Object implements javax.xml.transform.Source
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FEATURE
Factory feature indicating that DOM sources are supported.
|
| Constructor and Description |
|---|
DOMSource()
Default constructor.
|
DOMSource(org.w3c.dom.Node node)
Constructor with a context node.
|
DOMSource(org.w3c.dom.Node node,
java.lang.String systemId)
Constructor with a context node and system ID.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Node |
getNode()
Returns the context node.
|
java.lang.String |
getSystemId()
Returns the base URI to use as the context for resolving entities.
|
void |
setNode(org.w3c.dom.Node node)
Sets the context node.
|
void |
setSystemId(java.lang.String systemId)
Sets the base URI to use as the context for resolving entities.
|
public static final java.lang.String FEATURE
public DOMSource()
public DOMSource(org.w3c.dom.Node node)
public DOMSource(org.w3c.dom.Node node, java.lang.String systemId)
public void setNode(org.w3c.dom.Node node)
public org.w3c.dom.Node getNode()
public void setSystemId(java.lang.String systemId)
setSystemId in interface javax.xml.transform.SourcesystemId - the system ID URIpublic java.lang.String getSystemId()
getSystemId in interface javax.xml.transform.Source