InputSource Constructors
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.
Overloads
InputSource() |
Zero-argument default constructor. |
InputSource(Reader) |
Create a new input source with a character stream. |
InputSource(Stream) |
Create a new input source with a byte stream. |
InputSource(String) |
Create a new input source with a system identifier. |
InputSource(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
InputSource()
Zero-argument default constructor.
[Android.Runtime.Register(".ctor", "()V", "")]
public InputSource ();
- Attributes
Remarks
Zero-argument default constructor.
Java documentation for org.xml.sax.InputSource.InputSource()
.
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.
See also
Applies to
InputSource(Reader)
Create a new input source with a character stream.
[Android.Runtime.Register(".ctor", "(Ljava/io/Reader;)V", "")]
public InputSource (Java.IO.Reader? characterStream);
[<Android.Runtime.Register(".ctor", "(Ljava/io/Reader;)V", "")>]
new Org.Xml.Sax.InputSource : Java.IO.Reader -> Org.Xml.Sax.InputSource
Parameters
- characterStream
- Reader
The raw character stream containing the document.
- Attributes
Remarks
Create a new input source with a character stream.
Application writers should use setSystemId() to provide a base for resolving relative URIs, and may use setPublicId to include a public identifier.
The character stream shall not include a byte order mark.
Java documentation for org.xml.sax.InputSource.InputSource(java.io.Reader)
.
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.
See also
Applies to
InputSource(Stream)
Create a new input source with a byte stream.
[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")]
public InputSource (System.IO.Stream? byteStream);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")>]
new Org.Xml.Sax.InputSource : System.IO.Stream -> Org.Xml.Sax.InputSource
Parameters
- byteStream
- Stream
The raw byte stream containing the document.
- Attributes
Remarks
Create a new input source with a byte stream.
Application writers should use setSystemId() to provide a base for resolving relative URIs, may use setPublicId to include a public identifier, and may use setEncoding to specify the object's character encoding.
Java documentation for org.xml.sax.InputSource.InputSource(java.io.InputStream)
.
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.
See also
Applies to
InputSource(String)
Create a new input source with a system identifier.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public InputSource (string? systemId);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Xml.Sax.InputSource : string -> Org.Xml.Sax.InputSource
Parameters
- systemId
- String
The system identifier (URI).
- Attributes
Remarks
Create a new input source with a system identifier.
Applications may use setPublicId to include a public identifier as well, or setEncoding to specify the character encoding, if known.
If the system identifier is a URL, it must be fully resolved (it may not be a relative URL).
Java documentation for org.xml.sax.InputSource.InputSource(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.
See also
Applies to
InputSource(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected InputSource (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Xml.Sax.InputSource : nativeint * Android.Runtime.JniHandleOwnership -> Org.Xml.Sax.InputSource
Parameters
- 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.