|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface GenericEdgeRealizer.UserDataHandler
This interface is used by GenericEdgeRealizer to delegate the copying and serialization/deserialization of any user-defined data to. Registered implementations of this interface will be used to perform the actual serialization and deserialization of the user-defined data object. Additionally, implementations are responsible for creating appropriate copies of the user-defined data.
![]() |
![]() |
| Method Summary | |
|---|---|
java.lang.Object |
copyUserData(EdgeRealizer srcContext,
java.lang.Object srcData,
EdgeRealizer targetContext)
Copies the user-defined data appropriately. |
java.lang.Object |
readUserData(EdgeRealizer context,
java.io.ObjectInputStream ois)
Retrieves the user-defined data object from the ObjectInputStream. |
void |
storeUserData(EdgeRealizer context,
java.lang.Object userData,
java.io.ObjectOutputStream oos)
Stores the user-defined data object to the ObjectOutputStream. |
| Method Detail |
|---|
void storeUserData(EdgeRealizer context,
java.lang.Object userData,
java.io.ObjectOutputStream oos)
throws java.io.IOException
ObjectOutputStream. Used for YGF serialization.
context - the edge to store the user-defined datauserData - the user-defined data objectoos - the stream to store the user-defined data object to
java.io.IOException - if an exception occurs
java.lang.Object readUserData(EdgeRealizer context,
java.io.ObjectInputStream ois)
throws java.io.IOException
ObjectInputStream. Used for YGF deserialization.
context - the edge to read the user-defined data forois - the stream to read the user-defined data object from
java.io.IOException - if an exception occurs
java.lang.Object copyUserData(EdgeRealizer srcContext,
java.lang.Object srcData,
EdgeRealizer targetContext)
srcContext - the edge that will be copiedsrcData - the data associated with the srcContexttargetContext - the edge the copy will be associated with
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||