public enum InputType extends java.lang.Enum<InputType>
Java class for InputType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InputType">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="text"/>
<enumeration value="password"/>
<enumeration value="checkbox"/>
<enumeration value="radio"/>
<enumeration value="submit"/>
<enumeration value="reset"/>
<enumeration value="file"/>
<enumeration value="hidden"/>
<enumeration value="image"/>
<enumeration value="button"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BUTTON |
CHECKBOX |
FILE |
HIDDEN |
IMAGE |
PASSWORD |
RADIO |
RESET |
SUBMIT |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
static InputType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static InputType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputType TEXT
public static final InputType PASSWORD
public static final InputType CHECKBOX
public static final InputType RADIO
public static final InputType SUBMIT
public static final InputType RESET
public static final InputType FILE
public static final InputType HIDDEN
public static final InputType IMAGE
public static final InputType BUTTON
public static InputType[] values()
for (InputType c : InputType.values()) System.out.println(c);
public static InputType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
public static InputType fromValue(java.lang.String v)