WebObjects 5.2

com.webobjects.eocontrol
Interface EOKeyValueArchiver.Delegate

Enclosing class:
EOKeyValueArchiver

public static interface EOKeyValueArchiver.Delegate

The EOKeyValueArchiver.Delegate interface defines methods which can be used by a delegate object of an EOKeyValueArchiver to control the behavior of the archiver object.


Method Summary
 Object referenceToEncodeForObject(EOKeyValueArchiver archiver, Object object)
          A delegate of an EOKeyValueArchiver can implement this method to encode references if any of the objects it encodes call encodeReferenceToObject.
 

Method Detail

referenceToEncodeForObject

public Object referenceToEncodeForObject(EOKeyValueArchiver archiver,
                                         Object object)
A delegate of an EOKeyValueArchiver can implement this method to encode references if any of the objects it encodes call encodeReferenceToObject. The delegate should return a placeholder object (perhaps a String) to encode in place of the referenced object.
Parameters:
archiver - the archiver object encoding a reference object
object - the object being encoded
Returns:
a placeholder object for the object

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.