LdapAttributeSet
is a collection of LdapAttribute
classes as returned from an LdapEntry
on a search or read operation. LdapAttributeSet
may be also used to contruct an entry to be added to a directory. If the add()
or addAll()
methods are called and one or more of the objects to be added is not an LdapAttribute, ClassCastException
is thrown (as discussed in the documentation for java.util.Collection
).