com.intel.gpe.client2.defaults.preferences
Class NodeImpl

java.lang.Object
  extended by com.intel.gpe.client2.defaults.preferences.NodeImpl
All Implemented Interfaces:
INode

public class NodeImpl
extends java.lang.Object
implements INode

Version:
$Id: NodeImpl.java,v 1.2 2007/02/20 15:46:49 dizhigul Exp $
Author:
Denis Zhigula

Constructor Summary
NodeImpl(INode parent, java.lang.String name)
           
 
Method Summary
 IKey getKey(java.lang.String name)
          Get the key of the node by its name
 java.lang.String getName()
          Gets the name.
 INode getNode(java.lang.String name)
          Get the child node of this one by its name
 INode getParent()
          Gets the parent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeImpl

public NodeImpl(INode parent,
                java.lang.String name)
Method Detail

getParent

public INode getParent()
Description copied from interface: INode
Gets the parent.

Specified by:
getParent in interface INode
Returns:
the parent

getName

public java.lang.String getName()
Description copied from interface: INode
Gets the name.

Specified by:
getName in interface INode
Returns:
the name

getKey

public IKey getKey(java.lang.String name)
Description copied from interface: INode
Get the key of the node by its name

Specified by:
getKey in interface INode
Parameters:
name - - the name of the key
Returns:
the key identified by the name

getNode

public INode getNode(java.lang.String name)
Description copied from interface: INode
Get the child node of this one by its name

Specified by:
getNode in interface INode
Parameters:
name - - the name of the child node
Returns:
the subnode identified by the name


Copyright © 2008. All Rights Reserved.