Freigeben über


StreamResult Constructors

Definition

Overloads

StreamResult()

Zero-argument default constructor.

StreamResult(File)

Construct a StreamResult from a File.

StreamResult(Writer)

Construct a StreamResult from a character stream.

StreamResult(Stream)

Construct a StreamResult from a byte stream.

StreamResult(String)

Construct a StreamResult from a URL.

StreamResult(IntPtr, JniHandleOwnership)

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

StreamResult()

Zero-argument default constructor.

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

Remarks

Zero-argument default constructor.

Java documentation for javax.xml.transform.stream.StreamResult.StreamResult().

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

StreamResult(File)

Construct a StreamResult from a File.

[Android.Runtime.Register(".ctor", "(Ljava/io/File;)V", "")]
public StreamResult (Java.IO.File? f);
[<Android.Runtime.Register(".ctor", "(Ljava/io/File;)V", "")>]
new Javax.Xml.Transform.Stream.StreamResult : Java.IO.File -> Javax.Xml.Transform.Stream.StreamResult

Parameters

f
File

Must a non-null File reference.

Attributes

Remarks

Construct a StreamResult from a File.

Java documentation for javax.xml.transform.stream.StreamResult.StreamResult(java.io.File).

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

StreamResult(Writer)

Construct a StreamResult from a character stream.

[Android.Runtime.Register(".ctor", "(Ljava/io/Writer;)V", "")]
public StreamResult (Java.IO.Writer? writer);
[<Android.Runtime.Register(".ctor", "(Ljava/io/Writer;)V", "")>]
new Javax.Xml.Transform.Stream.StreamResult : Java.IO.Writer -> Javax.Xml.Transform.Stream.StreamResult

Parameters

writer
Writer

A valid Writer reference.

Attributes

Remarks

Construct a StreamResult from a character stream. Normally, a stream should be used rather than a reader, so that the transformer may use instructions contained in the transformation instructions to control the encoding. However, there are times when it is useful to write to a character stream, such as when using a StringWriter.

Java documentation for javax.xml.transform.stream.StreamResult.StreamResult(java.io.Writer).

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

StreamResult(Stream)

Construct a StreamResult from a byte stream.

[Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;)V", "")]
public StreamResult (System.IO.Stream? outputStream);
[<Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;)V", "")>]
new Javax.Xml.Transform.Stream.StreamResult : System.IO.Stream -> Javax.Xml.Transform.Stream.StreamResult

Parameters

outputStream
Stream

A valid OutputStream reference.

Attributes

Remarks

Construct a StreamResult from a byte stream. Normally, a stream should be used rather than a reader, so that the transformer may use instructions contained in the transformation instructions to control the encoding.

Java documentation for javax.xml.transform.stream.StreamResult.StreamResult(java.io.OutputStream).

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

StreamResult(String)

Construct a StreamResult from a URL.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public StreamResult (string? systemId);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Javax.Xml.Transform.Stream.StreamResult : string -> Javax.Xml.Transform.Stream.StreamResult

Parameters

systemId
String

Must be a String that conforms to the URI syntax.

Attributes

Remarks

Construct a StreamResult from a URL.

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

StreamResult(IntPtr, JniHandleOwnership)

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

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

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