org.openide.nodes
Interface Node.Handle

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultHandle
Enclosing class:
Node

public static interface Node.Handle
extends Serializable

Serializable node reference. The node should not be serialized directly but via this handle. One can obtain a handle by a call to Node.getHandle().

If that methods returns a non-null value, one can serialize it, and after deserialization use getNode() to obtain the original node.


Field Summary
static long serialVersionUID
           
 
Method Summary
 Node getNode()
          Reconstitute the node for this handle.
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Method Detail

getNode

public Node getNode()
             throws IOException
Reconstitute the node for this handle.
Returns:
the node for this handle
Throws:
IOException - if the node cannot be created


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.