|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.mgcp.controller.naming.NamingNode<T>
public class NamingNode<T>
The node in the naming tree.
| Constructor Summary | |
|---|---|
NamingNode(Text name,
NamingNode parent)
Create new instance of Naming node |
|
| Method Summary | |
|---|---|
void |
attach(T attachment)
Attaches object to this node. |
NamingNode<T> |
createChild(Text name)
Creates new child node. |
NamingNode |
find(Text[] path,
int n)
Gets the node specified by the path |
Text |
getName()
Gets the name of this node. |
NamingNode |
getParent()
Gets the parent node. |
T |
poll()
Gets the object attached to this node. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NamingNode(Text name,
NamingNode parent)
name - the name of this node.parent - the parent node.| Method Detail |
|---|
public Text getName()
public NamingNode getParent()
public NamingNode<T> createChild(Text name)
name - the name of child node to be created
public NamingNode find(Text[] path,
int n)
path - the path to the requested noden - the length of the path
public void attach(T attachment)
attachment - the object to be attachedpublic T poll()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||