netscape.ldap.util
Class LDIFBaseContent
java.lang.Object
netscape.ldap.util.LDIFBaseContent
- LDIFContent, java.io.Serializable
public abstract class LDIFBaseContent
extends java.lang.Object
An object of this class represents the content of an LDIF record.
This class implements the
LDIFContent
interface, but
it is abstract and must be extended for the various record types.
LDIFBaseContent
public LDIFBaseContent()
Blank constructor for deserialization
getControlString
protected String getControlString()
Get the OIDs of all controls, if any, as a string
- the OIDs of all controls, if any, as a string,
or an empty string if there are no controls.
getControls
public LDAPControl[] getControls()
Retrieves the list of controls specified in the content
of the LDIF record, if any
- getControls in interface LDIFContent
- an array of
LDAPControl
objects that
represent any controls specified in the the LDIF record,
or null
if none were specified.
setControls
public void setControls(LDAPControl[] controls)
Sets the list of controls
- setControls in interface LDIFContent
controls
- an array of LDAPControl
objects
or null
if none are to be specified