public class JDAPSearchResponse extends java.lang.Object implements JDAPProtocolOp
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 }
Modifier and Type | Field and Description |
---|---|
protected LDAPAttribute[] |
m_attributes |
protected BERElement |
m_element |
protected java.lang.String |
m_object_name
Internal variables
|
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
Constructor and Description |
---|
JDAPSearchResponse(BERElement element)
Constructs search response.
|
Modifier and Type | Method and Description |
---|---|
LDAPAttribute[] |
getAttributes()
Retrieves attributes
|
BERElement |
getBERElement()
Retrieves ber representation of the result.
|
java.lang.String |
getObjectName()
Retrieves object name
|
int |
getType()
Retrieves the protocol operation type.
|
java.lang.String |
toString()
Retrieve the string representation.
|
protected java.lang.String m_object_name
protected BERElement m_element
protected LDAPAttribute[] m_attributes
public JDAPSearchResponse(BERElement element) throws java.io.IOException
element
- ber element of search responsejava.io.IOException
public BERElement getBERElement()
getBERElement
in interface JDAPProtocolOp
public java.lang.String getObjectName()
public LDAPAttribute[] getAttributes()
public int getType()
getType
in interface JDAPProtocolOp
public java.lang.String toString()
toString
in interface JDAPProtocolOp
toString
in class java.lang.Object