netscape.ldap.client.opers
Class JDAPSearchResultReference

java.lang.Object
  extended by netscape.ldap.client.opers.JDAPSearchResultReference
All Implemented Interfaces:
JDAPProtocolOp

public class JDAPSearchResultReference
extends java.lang.Object
implements JDAPProtocolOp

This class implements the search result reference. See RFC 1777.

 SearchResultReference :: [APPLICATION 19] SEQUENCE OF LDAPURL
 

Version:
1.0

Field Summary
protected  BERElement m_element
           
protected  java.lang.String[] m_urls
          Internal variables
 
Fields inherited from interface netscape.ldap.client.opers.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_REQUEST
 
Constructor Summary
JDAPSearchResultReference(BERElement element)
          Constructs extended response.
 
Method Summary
 BERElement getBERElement()
          Retrieves the BER representation of this object.
 int getType()
          Retrieves the protocol operation type.
 java.lang.String[] getUrls()
          Retrieves a list of urls.
 java.lang.String toString()
          Retrieve the string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_urls

protected java.lang.String[] m_urls
Internal variables


m_element

protected BERElement m_element
Constructor Detail

JDAPSearchResultReference

public JDAPSearchResultReference(BERElement element)
                          throws java.io.IOException
Constructs extended response.

Parameters:
element - ber element of add response
Throws:
java.io.IOException
Method Detail

getType

public int getType()
Retrieves the protocol operation type.

Specified by:
getType in interface JDAPProtocolOp
Returns:
protocol type

getBERElement

public BERElement getBERElement()
Retrieves the BER representation of this object.

Specified by:
getBERElement in interface JDAPProtocolOp
Returns:
ber representation

getUrls

public java.lang.String[] getUrls()
Retrieves a list of urls.


toString

public java.lang.String toString()
Retrieve the string representation.

Specified by:
toString in interface JDAPProtocolOp
Overrides:
toString in class java.lang.Object
Returns:
string representation