|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--netscape.ldap.util.LDIFBaseContent
|
+--netscape.ldap.util.LDIFAddContent
An object of this class represents the content of an LDIF record that
specifies a new entry to be added. This class implements the
LDIFContent interface.
To get this object from an LDIFRecord object,
use the getContent method and cast the return value as
LDIFAddContent.
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 | |
|---|---|
LDIFAddContent(LDAPAttribute[] attrs)
Constructs a new LDIFAddContent object with
the specified attributes. |
|
| Method Summary | |
|---|---|
LDAPAttribute[] |
getAttributes()
Retrieves the list of the attributes 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 LDIFAddContent(LDAPAttribute[] attrs)
LDIFAddContent object with
the specified attributes.
attrs - an array of LDAPAttribute objects
representing the attributes of the entry to be added| Method Detail |
public int getType()
getContent method of the LDIFRecord
object to determine the type of content specified in the record.
LDIFContent.ADD_CONTENT).LDIFRecord.getContent()public LDAPAttribute[] getAttributes()
LDAPAttribute objects that
represent the attributes specified in the content of the LDIF record.public java.lang.String toString()
toString in interface LDIFContenttoString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||