Package org.apache.fop.events.model
Class EventSeverity
java.lang.Object
org.apache.fop.events.model.EventSeverity
- All Implemented Interfaces:
Serializable
Enumeration class for event severities.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventSeverity
error levelstatic final EventSeverity
fatal errorstatic final EventSeverity
info levelprivate String
private static final long
static final EventSeverity
warning level -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
EventSeverity
(String name) Constructor to add a new named item. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
private Object
toString()
static EventSeverity
Returns the enumeration/singleton object based on its name.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
INFO
info level -
WARN
warning level -
ERROR
error level -
FATAL
fatal error -
name
-
-
Constructor Details
-
EventSeverity
Constructor to add a new named item.- Parameters:
name
- Name of the item.
-
-
Method Details
-
getName
- Returns:
- the name of the enumeration
-
valueOf
Returns the enumeration/singleton object based on its name.- Parameters:
name
- the name of the enumeration value- Returns:
- the enumeration object
-
readResolve
- Throws:
ObjectStreamException
-
toString
-