XmlPullParserFactory.NewInstance Method

Definition

Overloads

NewInstance(String, Class)

Creates a factory that always returns instances of Android's built-in XmlPullParser and XmlSerializer implementation.

NewInstance()

Creates a new instance of a PullParserFactory that can be used to create XML pull parsers.

NewInstance(String, Class)

Creates a factory that always returns instances of Android's built-in XmlPullParser and XmlSerializer implementation.

[Android.Runtime.Register("newInstance", "(Ljava/lang/String;Ljava/lang/Class;)Lorg/xmlpull/v1/XmlPullParserFactory;", "")]
public static Org.XmlPull.V1.XmlPullParserFactory? NewInstance (string? unused, Java.Lang.Class? unused2);
[<Android.Runtime.Register("newInstance", "(Ljava/lang/String;Ljava/lang/Class;)Lorg/xmlpull/v1/XmlPullParserFactory;", "")>]
static member NewInstance : string * Java.Lang.Class -> Org.XmlPull.V1.XmlPullParserFactory

Parameters

unused
String
unused2
Class

Returns

XmlPullParserFactory
Attributes

Exceptions

Remarks

Java documentation for org.xmlpull.v1.XmlPullParserFactory.newInstance(java.lang.String, java.lang.Class).

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

NewInstance()

Creates a new instance of a PullParserFactory that can be used to create XML pull parsers.

[Android.Runtime.Register("newInstance", "()Lorg/xmlpull/v1/XmlPullParserFactory;", "")]
public static Org.XmlPull.V1.XmlPullParserFactory? NewInstance ();
[<Android.Runtime.Register("newInstance", "()Lorg/xmlpull/v1/XmlPullParserFactory;", "")>]
static member NewInstance : unit -> Org.XmlPull.V1.XmlPullParserFactory

Returns

XmlPullParserFactory
Attributes

Exceptions

Remarks

Java documentation for org.xmlpull.v1.XmlPullParserFactory.newInstance().

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