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
-
dn
- Distinct name (DN) of the root of this LDAP tree
-
host
- Host from which this LDAP tree is obtained
-
port
- Port through this this LDAP tree is obtained
-
sc
- Search constraints that return one level of the LDAP
structure below the DN
-
LDAPTree(String)
- Construct tree object from an LDAP url string
If url is invalid, the tree will be empty
-
concatenate(Object)
-
-
drop(Object)
-
-
getPairs()
- Returns an enumeration of the pairs emerging from this
tree's root node.
-
getSimples()
- Return an enumeration of the simple trees of this tree
(ie.
-
getTails()
-
-
head()
-
-
isField(Object)
-
-
peek(Object)
-
-
pick(Object)
-
-
prime()
-
-
tail()
-
-
take(Object)
-
host
private String host
- Host from which this LDAP tree is obtained
port
private int port
- Port through this this LDAP tree is obtained
dn
private String dn
- Distinct name (DN) of the root of this LDAP tree
sc
private static final LDAPSearchConstraints sc
- Search constraints that return one level of the LDAP
structure below the DN
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
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
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
getTails
public Enumeration getTails()
- Overrides:
- getTails in class Tree
isField
public boolean isField(Object field)
peek
public FieldValue peek(Object field)
- Overrides:
- peek in class Tree
concatenate
public Tree concatenate(Object t)
- Overrides:
- concatenate in class Tree
head
public Tree head()
- Overrides:
- head in class Tree
tail
public Tree tail()
- Overrides:
- tail in class Tree
prime
public Tree prime()
- Overrides:
- prime in class Tree
take
public Tree take(Object oi)
- Overrides:
- take in class Tree
drop
public Tree drop(Object oi)
- Overrides:
- drop in class Tree
pick
public Tree pick(Object oindex)
- Overrides:
- pick in class Tree
All Packages Class Hierarchy This Package Previous Next Index