blob: 52b795ad0169f387f1599d0a65b78c6c0648167c (
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
37
38
39
|
package com.memberwebs.ldapxml.helpers;
/**
* Represents an <entry> object in an LX map.
*
* @author nielsen@memberwebs.com
* @version 0.5
*/
public class LXEntry
extends LXBase
{
/**
* Constructs a new LXEntry object.
*
* @param parent The parent of this entry in the LX map tree.
*/
LXEntry(LXBase parent)
{
super(parent);
}
/**
* Gets a class in this entry.
*
* @param name The name of the class.
* @return The class, or null if no such class is present.
*/
public LXClass getClass(String name)
{
LXClass cls = (LXClass)getChild(name);
if(cls != null && !cls.isUseable())
cls = null;
return cls;
}
};
|