Package | Description |
---|---|
org.apache.directory.api.ldap.util.tree |
Modifier and Type | Method and Description |
---|---|
DnNode<N> |
DnNode.add(Dn dn)
Add a new node in the tree.
|
DnNode<N> |
DnNode.add(Dn dn,
N element)
Add a new node in the tree.
|
DnNode<N> |
DnNode.clone() |
DnNode<N> |
DnNode.getChild(Rdn rdn)
Get's a child using an rdn string.
|
DnNode<N> |
DnNode.getNode(Dn dn)
Get the Node for a given Dn, if present in the tree.
For instance, if we have stored dc=acme, dc=org into the tree, the Dn: ou=example, dc=acme, dc=org will have a parent, and dc=acme, dc=org will be returned. |
DnNode<N> |
DnNode.getParent() |
DnNode<N> |
DnNode.getParentWithElement()
Get the closest Node for a given Dn which has an element, if present in the tree.
For instance, if we have stored dc=acme, dc=org into the tree, the Dn: ou=example, dc=acme, dc=org will have a parent, and dc=acme, dc=org will be returned if it has an associated element. |
DnNode<N> |
DnNode.getParentWithElement(Dn dn)
Get the closest Node for a given Dn which has an element, if present in the tree.
For instance, if we have stored dc=acme, dc=org into the tree, the Dn: ou=example, dc=acme, dc=org will have a parent, and dc=acme, dc=org will be returned if it has an associated element. |
Modifier and Type | Method and Description |
---|---|
Map<Rdn,DnNode<N>> |
DnNode.getChildren() |
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.