|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectWrapper
An interface that allows an object to be wrapped. No matter what we're wrapping, the wrapper will provide this interface.
This interface allows object wrappers to be handled as prototypes. A prototype for the class of object will be created once, and all implementations of that class will be wrapped using a clone of the wrapper.
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object wrapper. |
void |
setObject(java.lang.Object object)
Sets the object to be wrapped by this object wrapper. |
Method Detail |
---|
void setObject(java.lang.Object object)
object
- the object to be wrappedjava.lang.Object clone()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |