public static enum Xml.Encoding extends Enum<Xml.Encoding>
Enum Constant and Description |
---|
ISO_8859_1 |
US_ASCII |
UTF_16 |
UTF_8 |
Modifier and Type | Method and Description |
---|---|
static Xml.Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Xml.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Xml.Encoding US_ASCII
public static final Xml.Encoding UTF_8
public static final Xml.Encoding UTF_16
public static final Xml.Encoding ISO_8859_1
public static Xml.Encoding[] values()
for (Xml.Encoding c : Xml.Encoding.values()) System.out.println(c);
public static Xml.Encoding valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null