public static enum Context.AttributeType extends Enum<Context.AttributeType>
| Enum Constant and Description |
|---|
NONE
No attribute.
|
PLAIN_TEXT
Other content.
|
SCRIPT
Mime-type text/javascript.
|
STYLE
Mime-type text/css.
|
URI
A URI or URI reference.
|
| Modifier and Type | Method and Description |
|---|---|
static Context.AttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Context.AttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Context.AttributeType NONE
public static final Context.AttributeType SCRIPT
public static final Context.AttributeType STYLE
public static final Context.AttributeType URI
public static final Context.AttributeType PLAIN_TEXT
public static Context.AttributeType[] values()
for (Context.AttributeType c : Context.AttributeType.values()) System.out.println(c);
public static Context.AttributeType 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