net.sf.jolene.constants
Enum Tags

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

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

Supported HTML tags.

Since:
: Oct 12, 2005 5:08:17 AM
Author:
: Dan Howard

Enum Constant Summary
button
           
form
           
img
           
input
           
label
           
link
           
meta
           
option
           
script
           
select
           
style
           
table
           
td
           
textarea
           
th
           
tr
           
 
Method Summary
static Tags valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Tags[] 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 Tags input

button

public static final Tags button

form

public static final Tags form

table

public static final Tags table

img

public static final Tags img

label

public static final Tags label

select

public static final Tags select

textarea

public static final Tags textarea

tr

public static final Tags tr

td

public static final Tags td

th

public static final Tags th

option

public static final Tags option

meta

public static final Tags meta

script

public static final Tags script

link

public static final Tags link

style

public static final Tags style
Method Detail

values

public static final Tags[] 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(Tags c : Tags.values())
        System.out.println(c);

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

valueOf

public static Tags 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