com.unitesk.atp.tree
Class TreeClass.NodeClass
java.lang.Object
com.unitesk.atp.dynattrs.IndexedAttributedImpl
com.unitesk.atp.dynattrs.MapAttributed
com.unitesk.atp.dynattrs.BeanMapAttributed
com.unitesk.atp.tree.TreeClass.NodeClass
- All Implemented Interfaces:
- Attributed, Keyed, Node, Serializable
- Enclosing class:
- TreeClass
public abstract static class TreeClass.NodeClass
- extends BeanMapAttributed
- implements Node
The default implementation of Node
interface.
Uses BeanMapAttributed
as implementation of
Attributed
interface.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.unitesk.atp.tree.Node |
accept |
TreeClass.NodeClass
public TreeClass.NodeClass()
getParent
public Node getParent()
- Description copied from interface:
Node
- Gets the parent of this node.
- Specified by:
getParent
in interface Node
- Returns:
- The parent of this node.
Can be
null
only for root node.
setParent
public void setParent(Node parent)
- Description copied from interface:
Node
- Sets the parent of this node.
- Specified by:
setParent
in interface Node
- Parameters:
parent
- The node to become parent of this node.- See Also:
Node.resetParent()
resetParent
public void resetParent()
- Description copied from interface:
Node
- Reset parent of this node.
- Specified by:
resetParent
in interface Node
- See Also:
Node.setParent(Node)
getThis
public Node getThis()
- Provides access to 'this' through
Attributed
interface.
makeChild
public final void makeChild(String name)
- Description copied from interface:
Node
- Makes a value of the specified attribute a child of this node.
If this attribute is indexed makes each element of its value
a child of this node.
null
an attribute value or an element are allowed.
- Specified by:
makeChild
in interface Node
- Parameters:
name
- The name of an attribute of this node.
Copyright © 2001-2006 ISP RAS, RedVerst Group. All Rights Reserved.