netscape.ldap.client.opers
Class JDAPSearchResponse
java.lang.Object
netscape.ldap.client.opers.JDAPSearchResponse
- JDAPProtocolOp
public class JDAPSearchResponse
extends java.lang.Object
This class implements the search response. This object
is sent from the ldap server to the interface.
entry [APPLICATION 4] SEQUENCE {
objectName LDAPDN,
attributes SEQUENCE OF SEQUENCE {
AttributeType,
SET OF AttributeValue
}
}
Note that the following is the LDAPv3 definition:
SearchResultEntry ::= [APPLICATION 4] SEQUENCE {
objectName LDAPDN,
attributes PartialAttributeList
}
PartialAttributeList ::= SEQUENCE OF SEQUENCE {
type AttributeDescription,
vals SET OF AttributeValue
}
ABANDON_REQUEST , ADD_REQUEST , ADD_RESPONSE , BIND_REQUEST , BIND_RESPONSE , COMPARE_REQUEST , COMPARE_RESPONSE , DEL_REQUEST , DEL_RESPONSE , EXTENDED_REQUEST , EXTENDED_RESPONSE , MODIFY_RDN_REQUEST , MODIFY_RDN_RESPONSE , MODIFY_REQUEST , MODIFY_RESPONSE , SEARCH_REQUEST , SEARCH_RESPONSE , SEARCH_RESULT , SEARCH_RESULT_REFERENCE , UNBIND_REQUEST |
m_object_name
protected String m_object_name
Internal variables
JDAPSearchResponse
public JDAPSearchResponse(BERElement element)
throws IOException
Constructs search response.
element
- ber element of search response
getAttributes
public LDAPAttribute[] getAttributes()
Retrieves attributes
getObjectName
public String getObjectName()
Retrieves object name