XmlPullParserFactory.NewSerializer Method

Definition

Creates a new instance of a XML Serializer.

[Android.Runtime.Register("newSerializer", "()Lorg/xmlpull/v1/XmlSerializer;", "GetNewSerializerHandler")]
public virtual Org.XmlPull.V1.IXmlSerializer? NewSerializer ();
[<Android.Runtime.Register("newSerializer", "()Lorg/xmlpull/v1/XmlSerializer;", "GetNewSerializerHandler")>]
abstract member NewSerializer : unit -> Org.XmlPull.V1.IXmlSerializer
override this.NewSerializer : unit -> Org.XmlPull.V1.IXmlSerializer

Returns

A new instance of a XML Serializer.

Attributes

Exceptions

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

Remarks

Creates a new instance of a XML Serializer.

<b>NOTE:</b> factory features are not used for XML Serializer.

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

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