DOMResult Constructors

Definition

Overloads

DOMResult()

Zero-argument default constructor.

DOMResult(INode)

Use a DOM node to create a new output target.

DOMResult(INode, INode)

Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before.

DOMResult(INode, String)

Use a DOM node to create a new output target with the specified System ID.

DOMResult(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

DOMResult(INode, INode, String)

Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before and the specified System ID.

DOMResult()

Zero-argument default constructor.

[Android.Runtime.Register(".ctor", "()V", "")]
public DOMResult ();
Attributes

Remarks

Zero-argument default constructor.

node, siblingNode and systemId will be set to null.

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

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

DOMResult(INode)

Use a DOM node to create a new output target.

[Android.Runtime.Register(".ctor", "(Lorg/w3c/dom/Node;)V", "")]
public DOMResult (Org.W3c.Dom.INode? node);
[<Android.Runtime.Register(".ctor", "(Lorg/w3c/dom/Node;)V", "")>]
new Javax.Xml.Transform.Dom.DOMResult : Org.W3c.Dom.INode -> Javax.Xml.Transform.Dom.DOMResult

Parameters

node
INode

The DOM node that will contain the result tree.

Attributes

Remarks

Use a DOM node to create a new output target.

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.

siblingNode and systemId will be set to null.

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

DOMResult(INode, INode)

Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before.

[Android.Runtime.Register(".ctor", "(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)V", "")]
public DOMResult (Org.W3c.Dom.INode? node, Org.W3c.Dom.INode? nextSibling);
[<Android.Runtime.Register(".ctor", "(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)V", "")>]
new Javax.Xml.Transform.Dom.DOMResult : Org.W3c.Dom.INode * Org.W3c.Dom.INode -> Javax.Xml.Transform.Dom.DOMResult

Parameters

node
INode

The DOM node that will contain the result tree.

nextSibling
INode

The child node where the result nodes should be inserted before.

Attributes

Exceptions

If nextSibling is not a sibling of node.

If node is null and nextSibling is not null.

Remarks

Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before.

In practice, node and nextSibling 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.

Use nextSibling to specify the child node where the result nodes should be inserted before. If nextSibling is not a sibling of node, then an IllegalArgumentException is thrown. If node is null and nextSibling is not null, then an IllegalArgumentException 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.

systemId will be set to null.

Added in 1.5.

Java documentation for javax.xml.transform.dom.DOMResult.DOMResult(org.w3c.dom.Node, 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

DOMResult(INode, String)

Use a DOM node to create a new output target with the specified System ID.

[Android.Runtime.Register(".ctor", "(Lorg/w3c/dom/Node;Ljava/lang/String;)V", "")]
public DOMResult (Org.W3c.Dom.INode? node, string? systemId);
[<Android.Runtime.Register(".ctor", "(Lorg/w3c/dom/Node;Ljava/lang/String;)V", "")>]
new Javax.Xml.Transform.Dom.DOMResult : Org.W3c.Dom.INode * string -> Javax.Xml.Transform.Dom.DOMResult

Parameters

node
INode

The DOM node that will contain the result tree.

systemId
String

The system identifier which may be used in association with this node.

Attributes

Remarks

Use a DOM node to create a new output target with the specified System ID.

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.

siblingNode will be set to null.

Java documentation for javax.xml.transform.dom.DOMResult.DOMResult(org.w3c.dom.Node, java.lang.String).

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

DOMResult(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected DOMResult (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Xml.Transform.Dom.DOMResult : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Xml.Transform.Dom.DOMResult

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

DOMResult(INode, INode, String)

Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before and the specified System ID.

[Android.Runtime.Register(".ctor", "(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Ljava/lang/String;)V", "")]
public DOMResult (Org.W3c.Dom.INode? node, Org.W3c.Dom.INode? nextSibling, string? systemId);
[<Android.Runtime.Register(".ctor", "(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Ljava/lang/String;)V", "")>]
new Javax.Xml.Transform.Dom.DOMResult : Org.W3c.Dom.INode * Org.W3c.Dom.INode * string -> Javax.Xml.Transform.Dom.DOMResult

Parameters

node
INode

The DOM node that will contain the result tree.

nextSibling
INode

The child node where the result nodes should be inserted before.

systemId
String

The system identifier which may be used in association with this node.

Attributes

Exceptions

If nextSibling is not a sibling of node.

If node is null and nextSibling is not null.

Remarks

Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before and the specified System ID.

In practice, node and nextSibling 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.

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

Added in 1.5.

Java documentation for javax.xml.transform.dom.DOMResult.DOMResult(org.w3c.dom.Node, org.w3c.dom.Node, java.lang.String).

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