public enum Capability extends Enum<Capability>
Enum Constant and Description |
---|
CONTENT_TYPE_XHTML
Does the user agent support "application/xhtml+xml" as content type?
|
IE_COMPATIBILITY_MODE
In IE 8 and later, a compatibility mode can be activated in the user agent.
|
PLACEHOLDER
Support for the placeholder in HTML 5.
|
Modifier and Type | Method and Description |
---|---|
static Capability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Capability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Capability PLACEHOLDER
public static final Capability CONTENT_TYPE_XHTML
public static final Capability IE_COMPATIBILITY_MODE
public static Capability[] values()
for (Capability c : Capability.values()) System.out.println(c);
public static Capability 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 nullCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.