XMLReaderFactory.CreateXMLReader Method

Definition

Overloads

CreateXMLReader()

Attempt to create an XMLReader from system defaults.

CreateXMLReader(String)

Attempt to create an XML reader from a class name.

CreateXMLReader()

Attempt to create an XMLReader from system defaults.

[Android.Runtime.Register("createXMLReader", "()Lorg/xml/sax/XMLReader;", "")]
public static Org.Xml.Sax.IXMLReader? CreateXMLReader ();
[<Android.Runtime.Register("createXMLReader", "()Lorg/xml/sax/XMLReader;", "")>]
static member CreateXMLReader : unit -> Org.Xml.Sax.IXMLReader

Returns

IXMLReader

A new XMLReader.

Attributes

Exceptions

If no default XMLReader class can be identified and instantiated.

Remarks

Java documentation for org.xml.sax.helpers.XMLReaderFactory.createXMLReader().

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

CreateXMLReader(String)

Attempt to create an XML reader from a class name.

[Android.Runtime.Register("createXMLReader", "(Ljava/lang/String;)Lorg/xml/sax/XMLReader;", "")]
public static Org.Xml.Sax.IXMLReader? CreateXMLReader (string? className);
[<Android.Runtime.Register("createXMLReader", "(Ljava/lang/String;)Lorg/xml/sax/XMLReader;", "")>]
static member CreateXMLReader : string -> Org.Xml.Sax.IXMLReader

Parameters

className
String

the name of the class that should be instantiated.

        &lt;p&gt;Note that this method will not be usable in environments where
        the caller (perhaps an applet) is not permitted to load classes
        dynamically.&lt;/p&gt;

Returns

IXMLReader

A new XML reader.

Attributes

Exceptions

If the class cannot be loaded, instantiated, and cast to XMLReader.

Remarks

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