PhaseId (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.faces.event Class PhaseId

java.lang.Object
  extended by javax.faces.event.PhaseId
所有已实现的接口:
Comparable

public class PhaseId
extends Object
implements Comparable

Typesafe enumeration of the legal values that may be returned by the getPhaseId() method of the FacesEvent interface.


字段摘要
static PhaseId ANY_PHASE
          Identifier that indicates an interest in events, no matter which request processing phase is being performed.
static PhaseId APPLY_REQUEST_VALUES
          Identifier that indicates an interest in events queued for the Apply Request Values phase of the request processing lifecycle.
static PhaseId INVOKE_APPLICATION
          Identifier that indicates an interest in events queued for the Invoke Application phase of the request processing lifecycle.
static PhaseId PROCESS_VALIDATIONS
          Identifier that indicates an interest in events queued for the Process Validations phase of the request processing lifecycle.
static PhaseId RENDER_RESPONSE
          Identifier for the Render Response phase of the request processing lifecycle.
static PhaseId RESTORE_VIEW
          Identifier that indicates an interest in events queued for the Restore View phase of the request processing lifecycle.
static PhaseId UPDATE_MODEL_VALUES
          Identifier that indicates an interest in events queued for the Update Model Values phase of the request processing lifecycle.
static List VALUES
          List of valid PhaseId instances, in ascending order of their ordinal value.
 
方法摘要
 int compareTo(Object other)
          Compare this PhaseId instance to the specified one.
 int getOrdinal()
          Return the ordinal value of this PhaseId instance.
 String toString()
          Return a String representation of this PhaseId instance.
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

ANY_PHASE

public static final PhaseId ANY_PHASE

Identifier that indicates an interest in events, no matter which request processing phase is being performed.


RESTORE_VIEW

public static final PhaseId RESTORE_VIEW

Identifier that indicates an interest in events queued for the Restore View phase of the request processing lifecycle.


APPLY_REQUEST_VALUES

public static final PhaseId APPLY_REQUEST_VALUES

Identifier that indicates an interest in events queued for the Apply Request Values phase of the request processing lifecycle.


PROCESS_VALIDATIONS

public static final PhaseId PROCESS_VALIDATIONS

Identifier that indicates an interest in events queued for the Process Validations phase of the request processing lifecycle.


UPDATE_MODEL_VALUES

public static final PhaseId UPDATE_MODEL_VALUES

Identifier that indicates an interest in events queued for the Update Model Values phase of the request processing lifecycle.


INVOKE_APPLICATION

public static final PhaseId INVOKE_APPLICATION

Identifier that indicates an interest in events queued for the Invoke Application phase of the request processing lifecycle.


RENDER_RESPONSE

public static final PhaseId RENDER_RESPONSE

Identifier for the Render Response phase of the request processing lifecycle.


VALUES

public static final List VALUES

List of valid PhaseId instances, in ascending order of their ordinal value.

方法详细信息

compareTo

public int compareTo(Object other)

Compare this PhaseId instance to the specified one. Returns a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.

规范说明:
compareTo in interface Comparable
参数:
other - The other object to be compared to

getOrdinal

public int getOrdinal()

Return the ordinal value of this PhaseId instance.


toString

public String toString()

Return a String representation of this PhaseId instance.

重写:
toString in class Object

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.