Class EventSeverity
java.lang.Object
org.docx4j.org.apache.fop.events.model.EventSeverity
- All Implemented Interfaces:
java.io.Serializable
public final class EventSeverity
extends java.lang.Object
implements java.io.Serializable
Enumeration class for event severities.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static EventSeverityERRORerror levelstatic EventSeverityFATALfatal errorstatic EventSeverityINFOinfo levelstatic EventSeverityWARNwarning level -
Method Summary
Modifier and Type Method Description java.lang.StringgetName()java.lang.StringtoString()static EventSeverityvalueOf(java.lang.String name)Returns the enumeration/singleton object based on its name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
INFO
info level -
WARN
warning level -
ERROR
error level -
FATAL
fatal error
-
-
Method Details
-
getName
public java.lang.String 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
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-