public enum XHTMLVersion extends Enum<XHTMLVersion>
Enum Constant and Description |
---|
V1_0_Frameset |
V1_0_Strict |
V1_0_Transitional |
V1_1 |
V5_0 |
Modifier and Type | Method and Description |
---|---|
static XHTMLVersion |
fromString(String spec) |
String |
getPublicId() |
String |
getSystemId() |
String |
toString() |
static XHTMLVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XHTMLVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XHTMLVersion V1_0_Transitional
public static final XHTMLVersion V1_0_Strict
public static final XHTMLVersion V1_0_Frameset
public static final XHTMLVersion V1_1
public static final XHTMLVersion V5_0
public static XHTMLVersion[] values()
for (XHTMLVersion c : XHTMLVersion.values()) System.out.println(c);
public static XHTMLVersion 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 nullpublic static XHTMLVersion fromString(String spec)
public String toString()
toString
in class Enum<XHTMLVersion>
public String getPublicId()
public String getSystemId()