java.lang.Object | +--javax.xml.transform.dom.DOMSource
Acts as a holder for a transformation Source tree in the form of a Document Object Model (DOM) tree.
FEATURE If TransformerFactory.getFeature(java.lang.String) returns true when passed this value as an argument, the Transformer supports Source input of this type. |
DOMSource() Zero-argument default constructor. | |
DOMSource(Node n) Create a new input source with a DOM node. | |
DOMSource(Node node, java.lang.String systemID) Create a new input source with a DOM node, and with the system ID also passed in as the base URI. |
getNode() Get the node that represents a Source DOM tree. | |
getSystemId() Get the base ID (URL or system ID) from where URLs will be resolved. | |
setNode(Node node) Set the node that will represents a Source DOM tree. | |
setSystemId(java.lang.String baseID) Set the base ID (URL or system ID) from where URLs will be resolved. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
public static final java.lang.StringFEATURE
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument, the Transformer supports Source input of this type.publicDOMSource()
DocumentBuilder.newDocument()
.publicDOMSource(Node n)
n
- The DOM node that will contain the Source tree.publicDOMSource(Node node, java.lang.String systemID)
node
- The DOM node that will contain the Source tree.systemID
- Specifies the base URI associated with node.public voidsetNode(Node node)
node
- The node that is to be transformed.publicNodegetNode()
public voidsetSystemId(java.lang.String baseID)
setSystemId
in interfaceSource
baseID
- Base URL for this DOM tree.public java.lang.StringgetSystemId()
getSystemId
in interfaceSource