public enum XmlVersion extends java.lang.Enum<XmlVersion>
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getLabel() |
|
static XmlVersion |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static XmlVersion[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlVersion XML_1_0
public static final XmlVersion XML_1_1
public static XmlVersion[] values()
for (XmlVersion c : XmlVersion.values()) System.out.println(c);
public static XmlVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLabel()
Copyright © 2019. All rights reserved.