Name

FacesMessage.Severity

Synopsis

Instances of this nested class represent severity levels for FacesMessage instances. All instances are created by the FacesMessage class and made available through public final static fields, with ordinal values in the order SEVERITY_INFO, SEVERITY_WARN, SEVERITY_ERROR, and SEVERITY_FATAL.

Synopsis

Class name:

javax.faces.application.FacesMessage.Severity

Extends:

None

Implements:

java.lang.Comparable

Methods

public int compareTo(Object other)

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

public int getOrdinal()

Returns the ordinal value for this instance.

public String toString()

Returns a String representation of this instance.

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.