ParserFactory.MakeParser Method

Definition

Overloads

MakeParser()
Obsolete.

Create a new SAX parser using the `org.

MakeParser(String)
Obsolete.

Create a new SAX parser object using the class name provided.

MakeParser()

Caution

deprecated

Create a new SAX parser using the `org.

[Android.Runtime.Register("makeParser", "()Lorg/xml/sax/Parser;", "")]
[System.Obsolete("deprecated")]
public static Org.Xml.Sax.IParser? MakeParser ();
[<Android.Runtime.Register("makeParser", "()Lorg/xml/sax/Parser;", "")>]
[<System.Obsolete("deprecated")>]
static member MakeParser : unit -> Org.Xml.Sax.IParser

Returns

the newly created parser.

Attributes

Exceptions

There is no value for the `org.xml.sax.parser' system property.

The SAX parser class was not found (check your CLASSPATH).

The SAX parser class was found, but you do not have permission to load it.

The SAX parser class was found but could not be instantiated.

The SAX parser class was found and instantiated, but does not implement org.xml.sax.Parser.

Remarks

Create a new SAX parser using the `org.xml.sax.parser' system property.

The named class must exist and must implement the org.xml.sax.Parser Parser interface.

Java documentation for org.xml.sax.helpers.ParserFactory.makeParser().

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

MakeParser(String)

Caution

deprecated

Create a new SAX parser object using the class name provided.

[Android.Runtime.Register("makeParser", "(Ljava/lang/String;)Lorg/xml/sax/Parser;", "")]
[System.Obsolete("deprecated")]
public static Org.Xml.Sax.IParser? MakeParser (string? className);
[<Android.Runtime.Register("makeParser", "(Ljava/lang/String;)Lorg/xml/sax/Parser;", "")>]
[<System.Obsolete("deprecated")>]
static member MakeParser : string -> Org.Xml.Sax.IParser

Parameters

className
String

A string containing the name of the SAX parser class.

Returns

the newly created parser.

Attributes

Exceptions

The SAX parser class was not found (check your CLASSPATH).

The SAX parser class was found, but you do not have permission to load it.

The SAX parser class was found but could not be instantiated.

The SAX parser class was found and instantiated, but does not implement org.xml.sax.Parser.

Remarks

Create a new SAX parser object using the class name provided.

The named class must exist and must implement the org.xml.sax.Parser Parser interface.

Java documentation for org.xml.sax.helpers.ParserFactory.makeParser(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