Directory SDK
for Java 4.19

netscape.ldap.util
Class LDIFBaseContent

java.lang.Object
  extended bynetscape.ldap.util.LDIFBaseContent
All Implemented Interfaces:
LDIFContent, Serializable
Direct Known Subclasses:
LDIFAddContent, LDIFAttributeContent, LDIFDeleteContent, LDIFModDNContent, LDIFModifyContent

public abstract class LDIFBaseContent
extends Object
implements LDIFContent, Serializable

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.

See Also:
LDIFRecord.getContent(), Serialized Form

Field Summary
 
Fields inherited from interface netscape.ldap.util.LDIFContent
ADD_CONTENT, ATTRIBUTE_CONTENT, DELETE_CONTENT, MODDN_CONTENT, MODIFICATION_CONTENT
 
Constructor Summary
LDIFBaseContent()
          Blank constructor for deserialization
 
Method Summary
 LDAPControl[] getControls()
          Retrieves the list of controls specified in the content of the LDIF record, if any
 void setControls(LDAPControl[] controls)
          Sets the list of controls
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface netscape.ldap.util.LDIFContent
getType, toString
 

Constructor Detail

LDIFBaseContent

public LDIFBaseContent()
Blank constructor for deserialization

Method Detail

getControls

public LDAPControl[] getControls()
Retrieves the list of controls specified in the content of the LDIF record, if any

Specified by:
getControls in interface LDIFContent
Returns:
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

Specified by:
setControls in interface LDIFContent
Parameters:
controls - an array of LDAPControl objects or null if none are to be specified

Directory SDK
for Java 4.19

Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.