org.openide.nodes 7.2.1

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
          Deprecated. Only public by accident.
 
Method Summary
 Node getNode()
          Reconstitute the node for this handle.
 

Field Detail

serialVersionUID

@Deprecated
static final long serialVersionUID
Deprecated. Only public by accident.
See Also:
Constant Field Values
Method Detail

getNode

Node getNode()
             throws IOException
Reconstitute the node for this handle.

Returns:
the node for this handle
Throws:
IOException - if the node cannot be created

org.openide.nodes 7.2.1

Built on January 29 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.