All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class wrappers.LDAPTree

java.lang.Object
   |
   +----weboql.tree.Tree
           |
           +----wrappers.LDAPTree

public class LDAPTree
extends Tree
Performs tree operations on LDAP sources for WebOQL engine

Version:
1.0
Author:
Rimon Barr
See Also:
LDAP

Variable Index

 o dn
Distinct name (DN) of the root of this LDAP tree
 o host
Host from which this LDAP tree is obtained
 o port
Port through this this LDAP tree is obtained
 o sc
Search constraints that return one level of the LDAP structure below the DN

Constructor Index

 o LDAPTree(String)
Construct tree object from an LDAP url string If url is invalid, the tree will be empty

Method Index

 o concatenate(Object)
 o drop(Object)
 o getPairs()
Returns an enumeration of the pairs emerging from this tree's root node.
 o getSimples()
Return an enumeration of the simple trees of this tree (ie.
 o getTails()
 o head()
 o isField(Object)
 o peek(Object)
 o pick(Object)
 o prime()
 o tail()
 o take(Object)

Variables

 o host
 private String host
Host from which this LDAP tree is obtained

 o port
 private int port
Port through this this LDAP tree is obtained

 o dn
 private String dn
Distinct name (DN) of the root of this LDAP tree

 o sc
 private static final LDAPSearchConstraints sc
Search constraints that return one level of the LDAP structure below the DN

Constructors

 o LDAPTree
 public LDAPTree(String sUrl)
Construct tree object from an LDAP url string If url is invalid, the tree will be empty

Parameters:
sUrl - string of LDAP url

Methods

 o getPairs
 public Enumeration getPairs()
Returns an enumeration of the pairs emerging from this tree's root node. Each pair represents a labelled arc to a subtree.

Returns:
enumeration of pairs (LDAPEnumeration)
Overrides:
getPairs in class Tree
See Also:
LDAPEnumeration
 o getSimples
 public Enumeration getSimples()
Return an enumeration of the simple trees of this tree (ie. an enumeration of trees with one child each of the original tree)

Overrides:
getSimples in class Tree
 o getTails
 public Enumeration getTails()
Overrides:
getTails in class Tree
 o isField
 public boolean isField(Object field)
 o peek
 public FieldValue peek(Object field)
Overrides:
peek in class Tree
 o concatenate
 public Tree concatenate(Object t)
Overrides:
concatenate in class Tree
 o head
 public Tree head()
Overrides:
head in class Tree
 o tail
 public Tree tail()
Overrides:
tail in class Tree
 o prime
 public Tree prime()
Overrides:
prime in class Tree
 o take
 public Tree take(Object oi)
Overrides:
take in class Tree
 o drop
 public Tree drop(Object oi)
Overrides:
drop in class Tree
 o pick
 public Tree pick(Object oindex)
Overrides:
pick in class Tree

All Packages  Class Hierarchy  This Package  Previous  Next  Index