org.thymeleaf.standard.syntax
Enum StandardSyntax.Value.Type

Object
  extended by Enum<StandardSyntax.Value.Type>
      extended by org.thymeleaf.standard.syntax.StandardSyntax.Value.Type
All Implemented Interfaces:
Serializable, Comparable<StandardSyntax.Value.Type>
Enclosing interface:
StandardSyntax.Value

public static enum StandardSyntax.Value.Type
extends Enum<StandardSyntax.Value.Type>


Enum Constant Summary
TYPE_CONDITION
           
TYPE_DEFAULT
           
TYPE_LINK
           
TYPE_LITERAL
           
TYPE_MSG
           
TYPE_TOKEN
           
TYPE_VAR
           
 
Method Summary
static StandardSyntax.Value.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StandardSyntax.Value.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TYPE_VAR

public static final StandardSyntax.Value.Type TYPE_VAR

TYPE_MSG

public static final StandardSyntax.Value.Type TYPE_MSG

TYPE_LINK

public static final StandardSyntax.Value.Type TYPE_LINK

TYPE_LITERAL

public static final StandardSyntax.Value.Type TYPE_LITERAL

TYPE_TOKEN

public static final StandardSyntax.Value.Type TYPE_TOKEN

TYPE_CONDITION

public static final StandardSyntax.Value.Type TYPE_CONDITION

TYPE_DEFAULT

public static final StandardSyntax.Value.Type TYPE_DEFAULT
Method Detail

values

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

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

valueOf

public static StandardSyntax.Value.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011 The THYMELEAF team. All Rights Reserved.