Language

SAXParser.ParseAsync Method

Definition

Overloads

Name Description
ParseAsync(Stream, DefaultHandler, String)

Asynchronously parses the XML content of the input stream using the specified org.xml.sax.helpers.DefaultHandler.

ParseAsync(Stream, HandlerBase, String)

Asynchronously parses the XML content of the input stream using the specified org.xml.sax.HandlerBase.

ParseAsync(String, DefaultHandler)

Asynchronously parses the XML content described by the Uniform Resource Identifier (URI) using the specified org.xml.sax.helpers.DefaultHandler.

ParseAsync(String, HandlerBase)

Asynchronously parses the XML content described by the Uniform Resource Identifier (URI) using the specified org.xml.sax.HandlerBase.

ParseAsync(Stream, DefaultHandler)

Asynchronously parses the XML content of the input stream using the specified org.xml.sax.helpers.DefaultHandler.

ParseAsync(InputSource, DefaultHandler)

Asynchronously parses the specified org.xml.sax.InputSource as XML using the specified org.xml.sax.helpers.DefaultHandler.

ParseAsync(InputSource, HandlerBase)

Asynchronously parses the specified org.xml.sax.InputSource as XML using the specified org.xml.sax.HandlerBase.

ParseAsync(File, DefaultHandler)

Asynchronously parses the XML content of the specified file using the specified org.xml.sax.helpers.DefaultHandler.

ParseAsync(File, HandlerBase)

Asynchronously parses the XML content of the specified file using the specified org.xml.sax.HandlerBase.

ParseAsync(Stream, HandlerBase)

Asynchronously parses the XML content of the input stream using the specified org.xml.sax.HandlerBase.

ParseAsync(Stream, DefaultHandler, String)

Asynchronously parses the XML content of the input stream using the specified org.xml.sax.helpers.DefaultHandler.

public System.Threading.Tasks.Task ParseAsync(System.IO.Stream? is, Org.Xml.Sax.Helpers.DefaultHandler? dh, string? systemId);
member this.ParseAsync : System.IO.Stream * Org.Xml.Sax.Helpers.DefaultHandler * string -> System.Threading.Tasks.Task

Parameters

is
Stream

The input stream containing the content to be parsed.

dh
DefaultHandler

The SAX DefaultHandler to use.

systemId
String

The system identifier used to resolve relative URIs.

Returns

A task that represents the parse operation.

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

ParseAsync(Stream, HandlerBase, String)

Asynchronously parses the XML content of the input stream using the specified org.xml.sax.HandlerBase.

public System.Threading.Tasks.Task ParseAsync(System.IO.Stream? is, Org.Xml.Sax.HandlerBase? hb, string? systemId);
member this.ParseAsync : System.IO.Stream * Org.Xml.Sax.HandlerBase * string -> System.Threading.Tasks.Task

Parameters

is
Stream

The input stream containing the content to be parsed.

hb
HandlerBase

The SAX HandlerBase to use.

systemId
String

The system identifier used to resolve relative URIs.

Returns

A task that represents the parse operation.

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

ParseAsync(String, DefaultHandler)

Asynchronously parses the XML content described by the Uniform Resource Identifier (URI) using the specified org.xml.sax.helpers.DefaultHandler.

public System.Threading.Tasks.Task ParseAsync(string? uri, Org.Xml.Sax.Helpers.DefaultHandler? dh);
member this.ParseAsync : string * Org.Xml.Sax.Helpers.DefaultHandler -> System.Threading.Tasks.Task

Parameters

uri
String

The location of the content to be parsed.

dh
DefaultHandler

The SAX DefaultHandler to use.

Returns

A task that represents the parse operation.

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

ParseAsync(String, HandlerBase)

Asynchronously parses the XML content described by the Uniform Resource Identifier (URI) using the specified org.xml.sax.HandlerBase.

public System.Threading.Tasks.Task ParseAsync(string? uri, Org.Xml.Sax.HandlerBase? hb);
member this.ParseAsync : string * Org.Xml.Sax.HandlerBase -> System.Threading.Tasks.Task

Parameters

uri
String

The location of the content to be parsed.

hb
HandlerBase

The SAX HandlerBase to use.

Returns

A task that represents the parse operation.

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

ParseAsync(Stream, DefaultHandler)

Asynchronously parses the XML content of the input stream using the specified org.xml.sax.helpers.DefaultHandler.

public System.Threading.Tasks.Task ParseAsync(System.IO.Stream? is, Org.Xml.Sax.Helpers.DefaultHandler? dh);
member this.ParseAsync : System.IO.Stream * Org.Xml.Sax.Helpers.DefaultHandler -> System.Threading.Tasks.Task

Parameters

is
Stream

The input stream containing the content to be parsed.

dh
DefaultHandler

The SAX DefaultHandler to use.

Returns

A task that represents the parse operation.

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

ParseAsync(InputSource, DefaultHandler)

Asynchronously parses the specified org.xml.sax.InputSource as XML using the specified org.xml.sax.helpers.DefaultHandler.

public System.Threading.Tasks.Task ParseAsync(Org.Xml.Sax.InputSource? is, Org.Xml.Sax.Helpers.DefaultHandler? dh);
member this.ParseAsync : Org.Xml.Sax.InputSource * Org.Xml.Sax.Helpers.DefaultHandler -> System.Threading.Tasks.Task

Parameters

is
InputSource

The input source containing the content to be parsed.

dh
DefaultHandler

The SAX DefaultHandler to use.

Returns

A task that represents the parse operation.

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

ParseAsync(InputSource, HandlerBase)

Asynchronously parses the specified org.xml.sax.InputSource as XML using the specified org.xml.sax.HandlerBase.

public System.Threading.Tasks.Task ParseAsync(Org.Xml.Sax.InputSource? is, Org.Xml.Sax.HandlerBase? hb);
member this.ParseAsync : Org.Xml.Sax.InputSource * Org.Xml.Sax.HandlerBase -> System.Threading.Tasks.Task

Parameters

is
InputSource

The input source containing the content to be parsed.

hb
HandlerBase

The SAX HandlerBase to use.

Returns

A task that represents the parse operation.

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

ParseAsync(File, DefaultHandler)

Asynchronously parses the XML content of the specified file using the specified org.xml.sax.helpers.DefaultHandler.

public System.Threading.Tasks.Task ParseAsync(Java.IO.File? f, Org.Xml.Sax.Helpers.DefaultHandler? dh);
member this.ParseAsync : Java.IO.File * Org.Xml.Sax.Helpers.DefaultHandler -> System.Threading.Tasks.Task

Parameters

f
File

The file containing the XML to parse.

dh
DefaultHandler

The SAX DefaultHandler to use.

Returns

A task that represents the parse operation.

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

ParseAsync(File, HandlerBase)

Asynchronously parses the XML content of the specified file using the specified org.xml.sax.HandlerBase.

public System.Threading.Tasks.Task ParseAsync(Java.IO.File? f, Org.Xml.Sax.HandlerBase? hb);
member this.ParseAsync : Java.IO.File * Org.Xml.Sax.HandlerBase -> System.Threading.Tasks.Task

Parameters

f
File

The file containing the XML to parse.

hb
HandlerBase

The SAX HandlerBase to use.

Returns

A task that represents the parse operation.

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

ParseAsync(Stream, HandlerBase)

Asynchronously parses the XML content of the input stream using the specified org.xml.sax.HandlerBase.

public System.Threading.Tasks.Task ParseAsync(System.IO.Stream? is, Org.Xml.Sax.HandlerBase? hb);
member this.ParseAsync : System.IO.Stream * Org.Xml.Sax.HandlerBase -> System.Threading.Tasks.Task

Parameters

is
Stream

The input stream containing the content to be parsed.

hb
HandlerBase

The SAX HandlerBase to use.

Returns

A task that represents the parse operation.

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