Uses of Class
org.apache.directory.api.ldap.util.tree.DnNode

Packages that use DnNode
  • Uses of DnNode in org.apache.directory.api.ldap.util.tree

    Modifier and Type
    Method
    Description
    DnNode.add(org.apache.directory.api.ldap.model.name.Dn dn)
    Add a new node in the tree.
    DnNode.add(org.apache.directory.api.ldap.model.name.Dn dn, N element)
    Add a new node in the tree.
    DnNode.getChild(org.apache.directory.api.ldap.model.name.Rdn rdn)
    Get's a child using an rdn string.
    DnNode.getNode(org.apache.directory.api.ldap.model.name.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.getParent()
    Get the parent's node
    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.getParentWithElement(org.apache.directory.api.ldap.model.name.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.
    Methods in org.apache.directory.api.ldap.util.tree that return types with arguments of type DnNode
    Modifier and Type
    Method
    Description
    DnNode.getChildren()
    Get the chidren for the current node