DOMResult.Node Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the node that will contain the result DOM tree. -or- Set the node that will contain the result DOM tree.
public virtual Org.W3c.Dom.INode? Node { [Android.Runtime.Register("getNode", "()Lorg/w3c/dom/Node;", "GetGetNodeHandler")] get; [Android.Runtime.Register("setNode", "(Lorg/w3c/dom/Node;)V", "GetSetNode_Lorg_w3c_dom_Node_Handler")] set; }
[<get: Android.Runtime.Register("getNode", "()Lorg/w3c/dom/Node;", "GetGetNodeHandler")>]
[<set: Android.Runtime.Register("setNode", "(Lorg/w3c/dom/Node;)V", "GetSetNode_Lorg_w3c_dom_Node_Handler")>]
member this.Node : Org.W3c.Dom.INode with get, set
Property Value
The node to which the transformation will be appended.
- Attributes
Exceptions
If nextSibling is not null and
nextSibling is not a child of node.
If node is null and
nextSibling is not null.
Remarks
Property getter documentation:
Get the node that will contain the result DOM tree.
If no node was set via #DOMResult(Node node), #DOMResult(Node node, String systeId), #DOMResult(Node node, Node nextSibling), #DOMResult(Node node, Node nextSibling, String systemId) or #setNode(Node node), then the node will be set by the transformation, and may be obtained from this method once the transformation is complete. Calling this method before the transformation will return null.
Java documentation for javax.xml.transform.dom.DOMResult.getNode().
Property setter documentation:
Set the node that will contain the result DOM tree.
In practice, the node should be a org.w3c.dom.Document node, a org.w3c.dom.DocumentFragment node, or a org.w3c.dom.Element node. In other words, a node that accepts children.
An IllegalStateException is thrown if nextSibling is not null and node is not a parent of nextSibling. An IllegalStateException is thrown if node is null and nextSibling is not null.
Java documentation for javax.xml.transform.dom.DOMResult.setNode(org.w3c.dom.Node).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.