|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdom.contrib.schema.ValidationError.Severity
public static final class ValidationError.Severity
Class to support type-safe enumeration design pattern to represent severity levels of validation errors.
| Constructor Summary | |
|---|---|
protected |
ValidationError.Severity(int level)
Severity constructor, private on purpose. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Tests for severity equality. |
int |
hashCode()
Returns a unique identifier for this severity. |
java.lang.String |
toString()
Returns a string representation of this severity suitable for debugging and diagnosis. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ValidationError.Severity(int level)
level - the severity level.| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean equals(java.lang.Object o)
Type objects are loaded
by different class loaders.
equals in class java.lang.Objecto - the object compared for equality to this
severity.
true if and only if o
represents the same severity as this object.Object.equals(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||