Modifier and Type | Field and Description |
---|---|
static String |
FEATURE
Factory feature indicating that DOM sources are supported.
|
Constructor and Description |
---|
DOMSource()
Default constructor.
|
DOMSource(Node node)
Constructor with a context node.
|
DOMSource(Node node,
String systemId)
Constructor with a context node and system ID.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String FEATURE
public DOMSource()
public void setSystemId(String systemId)
setSystemId
in interface Source
systemId
- the system ID URIpublic String getSystemId()
getSystemId
in interface Source