Table of Contents

Class XmlSerializer

Namespace
Org.Xmlpull.V1
Assembly
MASES.Netdroid.dll
public class XmlSerializer : JVMBridgeBase<XmlSerializer>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IXmlSerializer
Inheritance
XmlSerializer
Implements
Extension Methods

Constructors

XmlSerializer(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public XmlSerializer(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Attribute(String, String, String)

public XmlSerializer Attribute(String arg0, String arg1, String arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String

String

Returns

XmlSerializer

XmlSerializer

Exceptions

IOException
IllegalArgumentException
IllegalStateException

Cdsect(String)

public void Cdsect(String arg0)

Parameters

arg0 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException

Comment(String)

public void Comment(String arg0)

Parameters

arg0 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException

Docdecl(String)

public void Docdecl(String arg0)

Parameters

arg0 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException

EndDocument()

public void EndDocument()

Exceptions

IOException
IllegalArgumentException
IllegalStateException

EndTag(String, String)

public XmlSerializer EndTag(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

XmlSerializer

XmlSerializer

Exceptions

IOException
IllegalArgumentException
IllegalStateException

EntityRef(String)

public void EntityRef(String arg0)

Parameters

arg0 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException

Flush()

public void Flush()

Exceptions

IOException

GetDepth()

public int GetDepth()

Returns

int

int

GetFeature(String)

public bool GetFeature(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

GetName()

public String GetName()

Returns

String

String

GetNamespace()

public String GetNamespace()

Returns

String

String

GetPrefix(String, bool)

public String GetPrefix(String arg0, bool arg1)

Parameters

arg0 String

String

arg1 bool

bool

Returns

String

String

Exceptions

IllegalArgumentException

GetProperty(String)

public object GetProperty(String arg0)

Parameters

arg0 String

String

Returns

object

object

IgnorableWhitespace(String)

public void IgnorableWhitespace(String arg0)

Parameters

arg0 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException

ProcessingInstruction(String)

public void ProcessingInstruction(String arg0)

Parameters

arg0 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException

SetFeature(String, bool)

public void SetFeature(String arg0, bool arg1)

Parameters

arg0 String

String

arg1 bool

bool

Exceptions

IllegalArgumentException
IllegalStateException

SetOutput(OutputStream, String)

public void SetOutput(OutputStream arg0, String arg1)

Parameters

arg0 OutputStream

OutputStream

arg1 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException

SetOutput(Writer)

public void SetOutput(Writer arg0)

Parameters

arg0 Writer

Writer

Exceptions

IOException
IllegalArgumentException
IllegalStateException

SetPrefix(String, String)

public void SetPrefix(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException

SetProperty(String, object)

public void SetProperty(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

Exceptions

IllegalArgumentException
IllegalStateException

StartDocument(String, Boolean)

public void StartDocument(String arg0, Boolean arg1)

Parameters

arg0 String

String

arg1 Boolean

Boolean

Exceptions

IOException
IllegalArgumentException
IllegalStateException

StartTag(String, String)

public XmlSerializer StartTag(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

XmlSerializer

XmlSerializer

Exceptions

IOException
IllegalArgumentException
IllegalStateException

Text(String)

public XmlSerializer Text(String arg0)

Parameters

arg0 String

String

Returns

XmlSerializer

XmlSerializer

Exceptions

IOException
IllegalArgumentException
IllegalStateException

Text(char[], int, int)

public XmlSerializer Text(char[] arg0, int arg1, int arg2)

Parameters

arg0 char[]

char

arg1 int

int

arg2 int

int

Returns

XmlSerializer

XmlSerializer

Exceptions

IOException
IllegalArgumentException
IllegalStateException