blob: 3dce33c0bc951b380ad64de14987a7b3b023b944 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
package com.memberwebs.ldapxml.helpers;
/**
* Represents the root of an LX map
*
* @author nielsen@memberwebs.com
* @version 0.5
*/
public class LXRoot
extends LXBase
{
/**
* Constructs a new LXRoot object.
*/
LXRoot()
{
super(null);
}
/**
* Get an entry in this LX map by name.
*
* @param name The entry name.
* @return The entry, or null if no such entry is present
*/
public LXEntry getEntry(String name)
{
LXEntry entry = (LXEntry)getChild(name);
if(entry != null && !entry.isUseable())
entry = null;
return entry;
}
};
|