All LDAP Classes
Internal LDAP Classes

com.novell.ldap.client
Class RespExtensionSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet
          extended by com.novell.ldap.client.RespExtensionSet
All Implemented Interfaces:
java.lang.Iterable, java.util.Collection, java.util.Set

public class RespExtensionSet
extends java.util.AbstractSet
implements java.util.Set

This class extends the AbstractSet and Implements the Set so that it can be used to maintain a list of currently registered extended responses.


Field Summary
private  java.util.HashMap map
           
 
Constructor Summary
RespExtensionSet()
           
 
Method Summary
 java.lang.Class findResponseExtension(java.lang.String searchOID)
           
 java.util.Iterator iterator()
          Returns an iterator over the responses in this set.
 void registerResponseExtension(java.lang.String oid, java.lang.Class extClass)
           
 int size()
          Returns the number of extensions in this set.
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Field Detail

map

private java.util.HashMap map
Constructor Detail

RespExtensionSet

public RespExtensionSet()
Method Detail

registerResponseExtension

public final void registerResponseExtension(java.lang.String oid,
                                            java.lang.Class extClass)

size

public int size()
Returns the number of extensions in this set.

Specified by:
size in interface java.util.Collection
Specified by:
size in interface java.util.Set
Specified by:
size in class java.util.AbstractCollection
Returns:
number of extensions in this set.

iterator

public java.util.Iterator iterator()
Returns an iterator over the responses in this set. The responses returned from this iterator are not in any particular order.

Specified by:
iterator in interface java.lang.Iterable
Specified by:
iterator in interface java.util.Collection
Specified by:
iterator in interface java.util.Set
Specified by:
iterator in class java.util.AbstractCollection
Returns:
iterator over the responses in this set

findResponseExtension

public final java.lang.Class findResponseExtension(java.lang.String searchOID)
                                            throws java.lang.NoSuchFieldException
Throws:
java.lang.NoSuchFieldException

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