当前页面:
在线文档首页 >
NetBeans API Javadoc 5.5.0
Node.Handle (NetBeans Nodes API) - NetBeans API Javadoc 5.5.0
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.
Method Summary |
Node |
getNode()
Reconstitute the node for this handle. |
serialVersionUID
static final long serialVersionUID
- Deprecated. Only public by accident.
- See Also:
- Constant Field Values
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