Javax.Xml.Transform.Dom.DOMResult.Node Property

Syntax

[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")]
public virtual Org.W3c.Dom.INode Node { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionIf nextSibling is not null and nextSibling is not a child of node.
Java.Lang.IllegalStateExceptionIf node is null and nextSibling is not null.
Java.Lang.IllegalStateExceptionIf nextSibling is not null and nextSibling is not a child of node.
Java.Lang.IllegalStateExceptionIf node is null and nextSibling is not null.
Java.Lang.IllegalStateExceptionIf nextSibling is not null and nextSibling is not a child of node.
Java.Lang.IllegalStateExceptionIf node is null and nextSibling is not null.
Java.Lang.IllegalStateExceptionIf nextSibling is not null and nextSibling is not a child of node.
Java.Lang.IllegalStateExceptionIf node is null and nextSibling is not null.
Java.Lang.IllegalStateExceptionIf nextSibling is not null and nextSibling is not a child of node.
Java.Lang.IllegalStateExceptionIf node is null and nextSibling is not null.

Remarks

Get method documentation [Android Documentation]

Get the node that will contain the result DOM tree.

If no node was set via DOMResult(Org.W3c.Dom.INode), DOMResult(Org.W3c.Dom.INode, System.String), DOMResult(Org.W3c.Dom.INode, Org.W3c.Dom.INode), DOMResult(Org.W3c.Dom.INode, Org.W3c.Dom.INode, Org.W3c.Dom.INode) or DOMResult.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.

Set method documentation [Android Documentation]

Set the node that will contain the result DOM tree.

In practice, the node should be a Org.W3c.Dom.IDocument node, a Org.W3c.Dom.IDocumentFragment node, or a Org.W3c.Dom.IElement 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.

Requirements

Namespace: Javax.Xml.Transform.Dom
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8