| 
WebObjects 5.2.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The EOKeyValueArchiving interface declares the methods that a class must implement so that instances of that class can be encoded and decoded with EOKeyValueArchiver and EOKeyValueUnarchiver objects.
An archiver instructs the object to encode its state by invoking
 encodeWithKeyValueArchiver and an unarchiver instructs an object's class
 to decode its state by invoking the static method decodeWithKeyValueUnarchiver
 which takes an EOKeyValueArchiver as argument.
The method decodeWithKeyValueUnarchiver isn't strictly part of the
 EOKeyValueArchiving interface, but it is required of any class that implements the
 interface. decodeWithKeyValueUnarchiver is a static method, and therefore
 can't be formally declared in the EOKeyValueArchiving interface. Any class that
 implements the EOKeyValueArchiving interface must implement its methods, and implement
 the static method decodeWithKeyValueUnarchiver. The method signature is:
public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver unarchiver)
EOKeyValueArchiver, 
EOKeyValueUnarchiver, 
EOKeyValueArchiving.Awaking, 
EOKeyValueArchiving.FinishInitialization, 
EOKeyValueArchiving.Support| Nested Class Summary | |
static interface | 
EOKeyValueArchiving.Awaking
EOKeyValueArchiving.Awaking is an interface which can be optionally implemented by EOKeyValueArchiving objects if they need to be awaken explicitly at the end of an unarchiving process of an EOKeyValueUnarchiver.  | 
static interface | 
EOKeyValueArchiving.FinishInitialization
EOKeyValueArchiving.FinishInitialization is an interface which can be optionally implemented by EOKeyValueArchiving objects if they have special initialization needs at the end of an unarchiving process of an EOKeyValueUnarchiver.  | 
static class | 
EOKeyValueArchiving.Support
EOKeyValueArchiving.Support is an abstract class that defines a mechanism for one class to provide EOKeyValueArchiving behavior on behalf of another class.  | 
| Method Summary | |
 void | 
encodeWithKeyValueArchiver(EOKeyValueArchiver archiver)
Asks the receiver to archive its state into the EOKeyValueArchiver archiver. | 
| Method Detail | 
public void encodeWithKeyValueArchiver(EOKeyValueArchiver archiver)
archiver.
archiver - the EOKeyValueArchiverEOKeyValueArchiver
  | 
Last updated Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||