|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectit.unimo.dbgroup.momis.XmlTools.XmlReader.CallbackEntry
Stores an object validator and the corresponding priority call.
Object registered by registerValidation are stored in a list whose elements are CallbackEntry intances.
Before readObject returns the list is ordered by priority, validators with higher value are called earlier.
| Field Summary | |
private java.io.ObjectInputValidation |
_obj
Sored object validator. |
private int |
_priority
Stored priority value. |
| Constructor Summary | |
XmlReader.CallbackEntry(java.io.ObjectInputValidation obj,
int priority)
Initialize a new instance storing the passed parameters. |
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
Supplies a comparator to determine a natural order. |
int |
getPriority()
Returns the stored priority. |
java.io.ObjectInputValidation |
getValidator()
Returns the stored validator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int _priority
private java.io.ObjectInputValidation _obj
| Constructor Detail |
public XmlReader.CallbackEntry(java.io.ObjectInputValidation obj,
int priority)
obj - object validator to store.priority - priority call to store.| Method Detail |
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - Must be a CallbackEntry instance.
public int getPriority()
public java.io.ObjectInputValidation getValidator()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||