public abstract class LDIFBaseContent extends java.lang.Object implements LDIFContent, java.io.Serializable
LDIFContent
interface, but
it is abstract and must be extended for the various record types.
LDIFRecord.getContent()
,
Serialized FormADD_CONTENT, ATTRIBUTE_CONTENT, DELETE_CONTENT, MODDN_CONTENT, MODIFICATION_CONTENT
Constructor and Description |
---|
LDIFBaseContent()
Blank constructor for deserialization
|
Modifier and Type | Method and Description |
---|---|
LDAPControl[] |
getControls()
Retrieves the list of controls specified in the content
of the LDIF record, if any
|
protected java.lang.String |
getControlString()
Get the OIDs of all controls, if any, as a string
|
void |
setControls(LDAPControl[] controls)
Sets the list of controls
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType, toString
public LDAPControl[] getControls()
getControls
in interface LDIFContent
LDAPControl
objects that
represent any controls specified in the the LDIF record,
or null
if none were specified.public void setControls(LDAPControl[] controls)
setControls
in interface LDIFContent
controls
- an array of LDAPControl
objects
or null
if none are to be specifiedprotected java.lang.String getControlString()