public static enum ClientComponent.AttrType extends Enum<ClientComponent.AttrType>
Enum Constant and Description |
---|
IF_COMPONENT
Send this attribute if a component is being sent, but its presence in and of itself does not force a component to be sent.
|
OPTIONAL
Only send if all attributes are being sent.
|
REQUIRED
Always send this attribute, and force a component to be sent.
|
Modifier and Type | Method and Description |
---|---|
static ClientComponent.AttrType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientComponent.AttrType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ClientComponent.AttrType OPTIONAL
public static final ClientComponent.AttrType REQUIRED
public static final ClientComponent.AttrType IF_COMPONENT
public static ClientComponent.AttrType[] values()
for (ClientComponent.AttrType c : ClientComponent.AttrType.values()) System.out.println(c);
public static ClientComponent.AttrType 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