Class JDAPSearchResponse
java.lang.Object
netscape.ldap.client.opers.JDAPSearchResponse
- All Implemented Interfaces:
JDAPProtocolOp
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
}
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LDAPAttribute[]protected BERElementprotected StringInternal variablesFields inherited from interface JDAPProtocolOp
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_REQUESTModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intProtocol operation typesstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
m_object_name
Internal variables -
m_element
-
m_attributes
-
-
Constructor Details
-
JDAPSearchResponse
Constructs search response.- Parameters:
element- ber element of search response- Throws:
IOException
-
-
Method Details
-
getBERElement
Retrieves ber representation of the result.- Specified by:
getBERElementin interfaceJDAPProtocolOp- Returns:
- ber representation
-
getObjectName
-
getAttributes
-
getType
public int getType()Retrieves the protocol operation type.- Specified by:
getTypein interfaceJDAPProtocolOp- Returns:
- protocol type
-
toString
Retrieve the string representation.- Specified by:
toStringin interfaceJDAPProtocolOp- Overrides:
toStringin classObject- Returns:
- string representation
-