Enum Class InputType

java.lang.Object
java.lang.Enum<InputType>
org.w3._1999.xhtml.InputType
All Implemented Interfaces:
Serializable, Comparable<InputType>, Constable

public enum InputType extends 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 Details

    • TEXT

      public static final InputType TEXT
    • PASSWORD

      public static final InputType PASSWORD
    • CHECKBOX

      public static final InputType CHECKBOX
    • RADIO

      public static final InputType RADIO
    • SUBMIT

      public static final InputType SUBMIT
    • RESET

      public static final InputType RESET
    • FILE

      public static final InputType FILE
    • HIDDEN

      public static final InputType HIDDEN
    • IMAGE

      public static final InputType IMAGE
    • BUTTON

      public static final InputType BUTTON
  • Method Details

    • values

      public static InputType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InputType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static InputType fromValue(String v)