All LDAP Classes
Internal LDAP Classes

com.novell.ldap.client
Class ExtResponseFactory

java.lang.Object
  extended by com.novell.ldap.client.ExtResponseFactory

public class ExtResponseFactory
extends java.lang.Object

Takes an LDAPExtendedResponse and returns an object (that implements the base class ParsedExtendedResponse) based on the OID.

You can then call methods defined in the child class to parse the contents of the response. The methods available depend on the child class. All child classes inherit from the ParsedExtendedResponse.


Constructor Summary
ExtResponseFactory()
           
 
Method Summary
static LDAPExtendedResponse convertToExtendedResponse(RfcLDAPMessage inResponse)
          Used to Convert an RfcLDAPMessage object to the appropriate LDAPExtendedResponse object depending on the operation being performed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtResponseFactory

public ExtResponseFactory()
Method Detail

convertToExtendedResponse

public static LDAPExtendedResponse convertToExtendedResponse(RfcLDAPMessage inResponse)
                                                      throws LDAPException
Used to Convert an RfcLDAPMessage object to the appropriate LDAPExtendedResponse object depending on the operation being performed.

Parameters:
inResponse - The LDAPExtendedReponse object as returned by the extendedOperation method in the LDAPConnection object.

Returns:
An object of base class LDAPExtendedResponse. The actual child class of this returned object depends on the operation being performed.
Throws:
LDAPException - A general exception which includes an error message and an LDAP error code.

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000