public static enum RequestContext.Accessibility extends Enum<RequestContext.Accessibility>
Enum Constant and Description |
---|
DEFAULT
Output supports accessibility features
|
INACCESSIBLE
Accessibility-specific constructs are stripped out to optimize output size
|
SCREEN_READER
Accessibility-specific constructs are added to improve behavior under a screen reader
(but may affect other users negatively)
|
Modifier and Type | Method and Description |
---|---|
String |
displayName()
Returns the display name for this enum constant.
|
String |
toString() |
static RequestContext.Accessibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestContext.Accessibility |
valueOfDisplayName(String displayName)
Performs a reverse lookup of an Accessibilty constant based on
its display name.
|
static RequestContext.Accessibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestContext.Accessibility DEFAULT
public static final RequestContext.Accessibility INACCESSIBLE
public static final RequestContext.Accessibility SCREEN_READER
public static RequestContext.Accessibility[] values()
for (RequestContext.Accessibility c : RequestContext.Accessibility.values()) System.out.println(c);
public static RequestContext.Accessibility 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 String toString()
toString
in class Enum<RequestContext.Accessibility>
public String displayName()
public static RequestContext.Accessibility valueOfDisplayName(String displayName)
displayName
- the display name of the Accessibility constant to return.IllegalArgumentException
- if displayName does not correspond
to some Accessibility constant.NullPointerException
- if displayName is null.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.