|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
"Unifies" the resolveObject and replaceObject contracts used during
deserialization and serialization respectively.
ReplacerResolvers are chained components.
| Method Summary | |
ReplacerResolver |
append(ReplacerResolver aNext)
Appends a ReplacerResolver to this instance. |
ReplacerResolver |
getNext()
Gets the next online element of the chain. |
boolean |
isOffline()
Indicates if this instance if online. |
void |
offline()
Sets this instance offline. |
void |
online()
Sets this instance online. |
Object |
replaceObject(Object obj)
Replaces obj with another object. |
Object |
resolveObject(Object obj)
Resolves/replaces obj with another object. |
| Method Detail |
public Object replaceObject(Object obj)
throws IOException
obj - Object to be replaced.
IOException - Indicates an I/O error.
public Object resolveObject(Object obj)
throws IOException
obj - Object to be resolved/replaced.
IOException - Indicates an I/O error.public ReplacerResolver append(ReplacerResolver aNext)
aNext - Next ReplacerResolver of the chain.
public ReplacerResolver getNext()
public void online()
public void offline()
public boolean isOffline()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||