net.sf.jolene.constants
Enum Elements

java.lang.Object
  extended by java.lang.Enum<Elements>
      extended by net.sf.jolene.constants.Elements
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Elements>

public enum Elements
extends java.lang.Enum<Elements>

Supported parsable HTML elements.

Since:
Mar 4, 2006 7:07:58 AM
Author:
Dan Howard

Enum Constant Summary
button
           
checkbox
           
grid
           
image
           
input
           
label
           
radio
           
select
           
text
           
textarea
           
 
Method Summary
static Elements valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Elements[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

input

public static final Elements input

button

public static final Elements button

grid

public static final Elements grid

image

public static final Elements image

label

public static final Elements label

select

public static final Elements select

textarea

public static final Elements textarea

checkbox

public static final Elements checkbox

radio

public static final Elements radio

text

public static final Elements text
Method Detail

values

public static final Elements[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Elements c : Elements.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Elements valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name