|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetscape.ldap.util.LDIFBaseContent
netscape.ldap.util.LDIFModifyContent
An object of this class represents the content of an LDIF record that
specifies modifications to an entry. This class implements the
LDIFContent
interface.
To get this object from an LDIFRecord
object,
use the getContent
method and cast the return value as
LDIFModifyContent
.
LDIFRecord.getContent()
,
Serialized FormField Summary |
Fields inherited from interface netscape.ldap.util.LDIFContent |
ADD_CONTENT, ATTRIBUTE_CONTENT, DELETE_CONTENT, MODDN_CONTENT, MODIFICATION_CONTENT |
Constructor Summary | |
LDIFModifyContent()
Constructs an empty LDIFModifyContent object. |
Method Summary | |
void |
addElement(LDAPModification mod)
Specifies an additional modification that should be made to the entry. |
LDAPModification[] |
getModifications()
Retrieves the list of the modifications specified in the content of the LDIF record. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LDIFModifyContent()
LDIFModifyContent
object.
To specify the modifications to be made to the entry, use
the addElement
method.
addElement(netscape.ldap.LDAPModification)
Method Detail |
public int getType()
getContent
method of the LDIFRecord
object to determine the type of content specified in the record.
LDIFContent.MODIFICATION_CONTENT
).LDIFRecord.getContent()
public void addElement(LDAPModification mod)
mod
- LDAPModification
object representing
the change to make to the entryLDAPModification
public LDAPModification[] getModifications()
LDAPModification
objects that
represent the modifications specified in the content of the LDIF record.LDAPModification
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |