org.thymeleaf.testing.templateengine.standard.test
Enum StandardTestValueType

Object
  extended by Enum<StandardTestValueType>
      extended by org.thymeleaf.testing.templateengine.standard.test.StandardTestValueType
All Implemented Interfaces:
Serializable, Comparable<StandardTestValueType>

public enum StandardTestValueType
extends Enum<StandardTestValueType>


Enum Constant Summary
DEFAULT
           
NO_VALUE
           
SPECIFIED
           
 
Method Summary
static StandardTestValueType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StandardTestValueType[] 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

SPECIFIED

public static final StandardTestValueType SPECIFIED

DEFAULT

public static final StandardTestValueType DEFAULT

NO_VALUE

public static final StandardTestValueType NO_VALUE
Method Detail

values

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

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

valueOf

public static StandardTestValueType 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 © 2013 The THYMELEAF team. All Rights Reserved.