次の方法で共有


DOMResult.NextSibling Property

Definition

Get the child node before which the result nodes will be inserted. -or- Set the child node before which the result nodes will be inserted.

public virtual Org.W3c.Dom.INode? NextSibling { [Android.Runtime.Register("getNextSibling", "()Lorg/w3c/dom/Node;", "GetGetNextSiblingHandler")] get; [Android.Runtime.Register("setNextSibling", "(Lorg/w3c/dom/Node;)V", "GetSetNextSibling_Lorg_w3c_dom_Node_Handler")] set; }
[<get: Android.Runtime.Register("getNextSibling", "()Lorg/w3c/dom/Node;", "GetGetNextSiblingHandler")>]
[<set: Android.Runtime.Register("setNextSibling", "(Lorg/w3c/dom/Node;)V", "GetSetNextSibling_Lorg_w3c_dom_Node_Handler")>]
member this.NextSibling : Org.W3c.Dom.INode with get, set

Property Value

The child node before which the result nodes will be inserted.

Attributes

Exceptions

If nextSibling is not a descendant of node.

If node is null and nextSibling is not null.

Remarks

Property getter documentation:

Get the child node before which the result nodes will be inserted.

If no node was set via #DOMResult(Node node, Node nextSibling), #DOMResult(Node node, Node nextSibling, String systemId) or #setNextSibling(Node nextSibling), then null will be returned.

Added in 1.5.

Java documentation for javax.xml.transform.dom.DOMResult.getNextSibling().

Property setter documentation:

Set the child node before which the result nodes will be inserted.

Use nextSibling to specify the child node before which the result nodes should be inserted. If nextSibling is not a descendant of node, then an IllegalArgumentException is thrown. If node is null and nextSibling is not null, then an IllegalStateException is thrown. If nextSibling is null, then the behavior is the same as calling #DOMResult(Node node), i.e. append the result nodes as the last child of the specified node.

Added in 1.5.

Java documentation for javax.xml.transform.dom.DOMResult.setNextSibling(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.

Applies to