blob: 1ba46b5e71137a6e208998d602dfa6c1f27e13d2 (
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 <attribute> or <element> in an LX map.
*
* @author nielsen@memberwebs.com
* @version 0.5
*/
public class LXAttribute
extends LXBase
{
/**
* Construct an LXAttribute object. Can only be constructed
* from within the package.
*
* @param parent The parent in the map tree.
* @param isElement Set to true if this is object represents an
* <element>, otherwise an <attribute>.
*/
LXAttribute(LXBase parent, boolean isElement)
{
super(parent);
m_isElement = isElement;
}
/**
* Check whether this object represents an <element>
* or <attribute>.
*
* @return The state.
*/
public final boolean isElement()
{
return m_isElement;
}
protected boolean m_isElement;
};
|