public static enum ProtocolParameter.Type extends Enum<ProtocolParameter.Type>
Enum Constant and Description |
---|
BOOLEAN
A boolean parameter, whose value is either blank or "true".
|
ENUM
An enumerated parameter, whose legal values are fully enumerated
by a provided, finite list.
|
NUMERIC
A numeric parameter, whose value must contain only digits.
|
PASSWORD
A password parameter, whose value is sensitive and must be hidden.
|
TEXT
A text parameter, accepting arbitrary values.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolParameter.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolParameter.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolParameter.Type TEXT
public static final ProtocolParameter.Type PASSWORD
public static final ProtocolParameter.Type NUMERIC
public static final ProtocolParameter.Type BOOLEAN
public static final ProtocolParameter.Type ENUM
public static ProtocolParameter.Type[] values()
for (ProtocolParameter.Type c : ProtocolParameter.Type.values()) System.out.println(c);
public static ProtocolParameter.Type 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 © 2013. All Rights Reserved.