|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.faces.event Class PhaseId
java.lang.Object javax.faces.event.PhaseId
- All Implemented Interfaces:
- Comparable
public class PhaseId
- extends Object
- implements Comparable
FacesEvent
接口的 getPhaseId()
方法所返回的合法值的类型安全的枚举。
Typesafe enumeration of the legal values that may be returned by the
getPhaseId()
method of the FacesEvent
interface.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
英文文档:
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.
Method Detail |
---|
public int
compareTo(Object other)
将此 PhaseId
实例与指定的实例相比较。根据此对象小于、等于或大于指定对象分别返回负整数、0 或正整数。
other | 要比较的另一个对象 |
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.- Specified by:
compareTo
in interfaceComparable
- Parameters:
other
- The other object to be compared to
public int
getOrdinal()
返回此 PhaseId
实例的序数值。
getOrdinal
public int getOrdinal()
Return the ordinal value of this
PhaseId
instance.
public String
toString()
返回此 PhaseId
实例的 String 表示形式。
toString
public String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!