Acts as a holder for a transformation Source tree in the form of a Document Object Model (DOM) tree.
Note that XSLT requires namespace support. Attempting to transform a DOM
that was not constructed with a namespace-aware parser may result in errors.
Parsers can be made namespace aware by calling
javax..
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FEATURE
If |
| private Node | node
|
| private String | systemID
The base ID (URL or system ID) from where URLs will be resolved. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Node | Returns: The node that is to be transformed.Get the node that represents a Source DOM tree. |
| public String | Returns: Base URL for this DOM tree.Implements javax. Get the base ID (URL or system ID) from where URLs will be resolved. |
| public boolean | Returns: true if theDOMSource object is empty, false otherwiseOverrides default javax. Indicates whether the |
| public void | |
| public void | setSystemId(String
Base URL for this DOM tree. systemID)Implements javax. Set the base ID (URL or system ID) from where URLs will be resolved. |
| FEATURE | back to summary |
|---|---|
| public static final String FEATURE If | |
| node | back to summary |
|---|---|
| private Node node
| |
| systemID | back to summary |
|---|---|
| private String systemID The base ID (URL or system ID) from where URLs will be resolved. | |
| DOMSource | back to summary |
|---|---|
| public DOMSource() Zero-argument default constructor. If this constructor is used, and
no DOM source is set using | |
| DOMSource | back to summary |
|---|---|
| public DOMSource(Node n) Create a new input source with a DOM node. The operation will be applied to the subtree rooted at this node. In XSLT, a "/" pattern still means the root of the tree (not the subtree), and the evaluation of global variables and parameters is done from the root node also.
| |
| DOMSource | back to summary |
|---|---|
| public DOMSource(Node node, String systemID) Create a new input source with a DOM node, and with the system ID also passed in as the base URI. | |
| getNode | back to summary |
|---|---|
| public Node getNode() Get the node that represents a Source DOM tree.
| |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Implements javax. Get the base ID (URL or system ID) from where URLs will be resolved. | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides default javax. Indicates whether the
| |
| setNode | back to summary |
|---|---|
| public void setNode(Node node) Set the node that will represents a Source DOM tree.
| |
| setSystemId | back to summary |
|---|---|
| public void setSystemId(String systemID) Implements javax. Set the base ID (URL or system ID) from where URLs will be resolved. | |