Package netscape.ldap.util
Class LDIFDeleteContent
- java.lang.Object
-
- netscape.ldap.util.LDIFBaseContent
-
- netscape.ldap.util.LDIFDeleteContent
-
- All Implemented Interfaces:
java.io.Serializable
,LDIFContent
public class LDIFDeleteContent extends LDIFBaseContent
An object of this class represents the content of an LDIF record that specifies the deletion of an entry. This class implements theLDIFContent
interface.To get this object from an
LDIFRecord
object, use thegetContent
method and cast the return value asLDIFDeleteContent
.- Version:
- 1.0
- 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
Constructors Constructor Description LDIFDeleteContent()
Constructs anLDIFDeleteContent
object to specify that an entry should be deleted.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getType()
Returns the content type.java.lang.String
toString()
Returns the string representation of the content of the LDIF record.-
Methods inherited from class netscape.ldap.util.LDIFBaseContent
getControls, getControlString, setControls
-
-
-
-
Method Detail
-
getType
public int getType()
Returns the content type. You can use this with thegetContent
method of theLDIFRecord
object to determine the type of content specified in the record.- Returns:
- the content type (which is
LDIFContent.DELETE_CONTENT
). - See Also:
LDIFRecord.getContent()
-
toString
public java.lang.String toString()
Returns the string representation of the content of the LDIF record.- Specified by:
toString
in interfaceLDIFContent
- Overrides:
toString
in classjava.lang.Object
- Returns:
- the string representation of the content of the LDIF record.
-
-