Condividi tramite


SAXParserFactory.NewSAXParser Method

Definition

Creates a new instance of a SAXParser using the currently configured factory parameters.

[Android.Runtime.Register("newSAXParser", "()Ljavax/xml/parsers/SAXParser;", "GetNewSAXParserHandler")]
public abstract Javax.Xml.Parsers.SAXParser? NewSAXParser ();
[<Android.Runtime.Register("newSAXParser", "()Ljavax/xml/parsers/SAXParser;", "GetNewSAXParserHandler")>]
abstract member NewSAXParser : unit -> Javax.Xml.Parsers.SAXParser

Returns

A new instance of a SAXParser.

Attributes

Exceptions

if a parser cannot be created which satisfies the requested configuration.

for SAX errors.

Remarks

Creates a new instance of a SAXParser using the currently configured factory parameters.

Java documentation for javax.xml.parsers.SAXParserFactory.newSAXParser().

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