|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.faces.application Class FacesMessage.Severity
java.lang.Object javax.faces.application.FacesMessage.Severity
- All Implemented Interfaces:
- Comparable
- Enclosing class:
- FacesMessage
public static class FacesMessage.Severity
- extends Object
- implements Comparable
用于在类型安全枚举中表示消息严重性级别的类。
Class used to represent message severity levels in a typesafe enumeration.
Method Summary | |
---|---|
int |
compareTo(Object other)
Compare this FacesMessage.Severity instance to the
specified one. |
int |
getOrdinal()
Return the ordinal value of this FacesMessage.Severity instance. |
String |
toString()
Return a String representation of this FacesMessage.Severity instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int
compareTo(Object other)
将此 javax.faces.application.FacesMessage.Severity
实例与指定的实例进行比较。如果此对象小于、等于或大于指定对象,则返回负整数、0 或正整数。
other | 要比较的另一个对象 |
compareTo
public int compareTo(Object other)
Compare this
FacesMessage.Severity
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()
返回此 FacesMessage.Severity
实例的序数值。
getOrdinal
public int getOrdinal()
Return the ordinal value of this
FacesMessage.Severity
instance.
public String
toString()
返回此 FacesMessage.Severity
实例的 String 表示形式。
toString
public String toString()
Return a String representation of this
FacesMessage.Severity
instance.
|
|||||||||
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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!