public interface LDIFContent
The following classes implement this interface:
LDIFAttributeContent
(represents the content
of an LDIF record that specifies an entry)
LDIFAddContent
(represents the content
of an LDIF record that adds a new entry)
LDIFModifyContent
(represents the content
of an LDIF record that modifies an entry)
LDIFDeleteContent
(represents the content
of an LDIF record that deletes an entry)
LDIFModDNContent
(represents the content
of an LDIF record that changes the RDN or DN of an entry)
LDIFRecord
,
LDIFAttributeContent
,
LDIFAddContent
,
LDIFModifyContent
,
LDIFDeleteContent
,
LDIFModDNContent
Modifier and Type | Field and Description |
---|---|
static int |
ADD_CONTENT
The LDIF record specifies a new entry to be added.
|
static int |
ATTRIBUTE_CONTENT
The LDIF record specifies an entry and its attributes.
|
static int |
DELETE_CONTENT
The LDIF record specifies an entry to be deleted.
|
static int |
MODDN_CONTENT
The LDIF record specifies changes to the DN or RDN of an entry.
|
static int |
MODIFICATION_CONTENT
The LDIF record specifies modifications to an entry.
|
Modifier and Type | Method and Description |
---|---|
LDAPControl[] |
getControls()
Retrieves the list of controls specified in the content
of the LDIF record, if any
|
int |
getType()
Determines the content type.
|
void |
setControls(LDAPControl[] controls)
Sets the list of controls
|
java.lang.String |
toString()
Returns the string representation of the content of the LDIF record.
|
static final int ATTRIBUTE_CONTENT
static final int ADD_CONTENT
static final int DELETE_CONTENT
static final int MODIFICATION_CONTENT
static final int MODDN_CONTENT
int getType()
LDAPControl[] getControls()
LDAPControl
objects that
represent any controls specified in the the LDIF record,
or null
if none were specified.void setControls(LDAPControl[] controls)
controls
- an array of LDAPControl
objects
or null
if none are to be specifiedjava.lang.String toString()
toString
in class java.lang.Object