org.jboss.seam.faces.event
Enum PhaseIdType

java.lang.Object
  extended by java.lang.Enum<PhaseIdType>
      extended by org.jboss.seam.faces.event.PhaseIdType
All Implemented Interfaces:
Serializable, Comparable<PhaseIdType>

public enum PhaseIdType
extends Enum<PhaseIdType>

Enum values corresponding to the phases of the JSF life-cycle.

Author:
Brian Leathem

Enum Constant Summary
ANY_PHASE
           
APPLY_REQUEST_VALUES
           
INVOKE_APPLICATION
           
PROCESS_VALIDATIONS
           
RENDER_RESPONSE
           
RESTORE_VIEW
           
UPDATE_MODEL_VALUES
           
 
Method Summary
static PhaseIdType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PhaseIdType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANY_PHASE

public static final PhaseIdType ANY_PHASE

RESTORE_VIEW

public static final PhaseIdType RESTORE_VIEW

APPLY_REQUEST_VALUES

public static final PhaseIdType APPLY_REQUEST_VALUES

PROCESS_VALIDATIONS

public static final PhaseIdType PROCESS_VALIDATIONS

UPDATE_MODEL_VALUES

public static final PhaseIdType UPDATE_MODEL_VALUES

INVOKE_APPLICATION

public static final PhaseIdType INVOKE_APPLICATION

RENDER_RESPONSE

public static final PhaseIdType RENDER_RESPONSE
Method Detail

values

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

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

valueOf

public static PhaseIdType 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 Seam Framework. All Rights Reserved.