Added in API level 1

Xml.Encoding


public static final enum Xml.Encoding
extends Enum<Xml.Encoding>

java.lang.Object
   ↳ java.lang.Enum<android.util.Xml.Encoding>
     ↳ android.util.Xml.Encoding


Supported character encodings.

Summary

Enum values

Xml.Encoding  ISO_8859_1

 

Xml.Encoding  US_ASCII

 

Xml.Encoding  UTF_16

 

Xml.Encoding  UTF_8

 

Public methods

static Xml.Encoding valueOf(String name)
static final Encoding[] values()

Inherited methods

Enum values

ISO_8859_1

Added in API level 1
public static final Xml.Encoding ISO_8859_1

US_ASCII

Added in API level 1
public static final Xml.Encoding US_ASCII

UTF_16

Added in API level 1
public static final Xml.Encoding UTF_16

UTF_8

Added in API level 1
public static final Xml.Encoding UTF_8

Public methods

valueOf

public static Xml.Encoding valueOf (String name)

Parameters
name String

Returns
Xml.Encoding

values

public static final Encoding[] values ()

Returns
Encoding[]