IXmlSerializer IXmlSerializer Interface


Define an interface to serialization of XML Infoset.

[Android.Runtime.Register("org/xmlpull/v1/XmlSerializer", "", "Org.XmlPull.V1.IXmlSerializerInvoker", ApiSince=1)]
public interface IXmlSerializer : Android.Runtime.IJavaObject, IDisposable
type IXmlSerializer = interface
    interface IJavaObject
    interface IDisposable


Android platform documentation

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.


Depth Depth

Returns the current depth of the element.

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
Name Name

Returns the name of the current element as set by startTag().

Namespace Namespace

Returns the namespace URI of the current element as set by startTag().


Attribute(String, String, String) Attribute(String, String, String)

Write an attribute.

Cdsect(String) Cdsect(String)
Comment(String) Comment(String)
Docdecl(String) Docdecl(String)
EndDocument() EndDocument()

Finish writing.

EndTag(String, String) EndTag(String, String)

Write end tag.

EntityRef(String) EntityRef(String)
Flush() Flush()

Write all pending output to the stream.

GetFeature(String) GetFeature(String)

Return the current value of the feature with given name.

GetPrefix(String, Boolean) GetPrefix(String, Boolean)

Return namespace that corresponds to given prefix If there is no prefix bound to this namespace return null but if generatePrefix is false then return generated prefix.

GetProperty(String) GetProperty(String)

Look up the value of a property.

IgnorableWhitespace(String) IgnorableWhitespace(String)
ProcessingInstruction(String) ProcessingInstruction(String)
SetFeature(String, Boolean) SetFeature(String, Boolean)

Set feature identified by name (recommended to be URI for uniqueness).

SetOutput(Stream, String) SetOutput(Stream, String)

Set to use binary output stream with given encoding.

SetOutput(Writer) SetOutput(Writer)

Set the output to the given writer.

SetPrefix(String, String) SetPrefix(String, String)

Binds the given prefix to the given namespace.

SetProperty(String, Object) SetProperty(String, Object)

Set the value of a property. (the property name is recommended to be URI for uniqueness).

StartDocument(String, Boolean) StartDocument(String, Boolean)

Write <&#63;xml declaration with encoding (if encoding not null) and standalone flag (if standalone not null) This method can only be called just after setOutput.

StartTag(String, String) StartTag(String, String)

Writes a start tag with the given namespace and name.

Text(Char[], Int32, Int32) Text(Char[], Int32, Int32)

Writes text, where special XML chars are escaped automatically

Text(String) Text(String)

Writes text, where special XML chars are escaped automatically

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
AttributeAsync(IXmlSerializer, String, String, String) AttributeAsync(IXmlSerializer, String, String, String)
CdsectAsync(IXmlSerializer, String) CdsectAsync(IXmlSerializer, String)
CommentAsync(IXmlSerializer, String) CommentAsync(IXmlSerializer, String)
DocdeclAsync(IXmlSerializer, String) DocdeclAsync(IXmlSerializer, String)
EndDocumentAsync(IXmlSerializer) EndDocumentAsync(IXmlSerializer)
EndTagAsync(IXmlSerializer, String, String) EndTagAsync(IXmlSerializer, String, String)
EntityRefAsync(IXmlSerializer, String) EntityRefAsync(IXmlSerializer, String)
FlushAsync(IXmlSerializer) FlushAsync(IXmlSerializer)
IgnorableWhitespaceAsync(IXmlSerializer, String) IgnorableWhitespaceAsync(IXmlSerializer, String)
ProcessingInstructionAsync(IXmlSerializer, String) ProcessingInstructionAsync(IXmlSerializer, String)
StartDocumentAsync(IXmlSerializer, String, Boolean) StartDocumentAsync(IXmlSerializer, String, Boolean)
StartTagAsync(IXmlSerializer, String, String) StartTagAsync(IXmlSerializer, String, String)
TextAsync(IXmlSerializer, Char[], Int32, Int32) TextAsync(IXmlSerializer, Char[], Int32, Int32)
TextAsync(IXmlSerializer, String) TextAsync(IXmlSerializer, String)

Applies to