|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jndi.ldap.obj.GroupOfURLs.Members
class GroupOfURLs.Members
The members of a dynamic group.
Field Summary | |
---|---|
private boolean |
expandSubgroups
|
private java.lang.String |
filter
|
private javax.naming.NamingEnumeration |
memberUrls
|
private javax.naming.NamingEnumeration |
results
|
private javax.naming.directory.SearchControls |
searchControls
|
private javax.naming.NamingEnumeration |
subgroupMembers
|
private java.util.ArrayList |
subgroups
|
Constructor Summary | |
---|---|
GroupOfURLs.Members()
|
|
GroupOfURLs.Members(javax.naming.NamingEnumeration memberUrls,
java.lang.String filter,
javax.naming.directory.SearchControls searchControls)
|
Method Summary | |
---|---|
void |
close()
Closes the enumeration and releases its resources. |
boolean |
hasMore()
Check if the group has more members. |
boolean |
hasMoreElements()
Check if the group has more members. |
java.lang.Object |
next()
Retrieve the next member of the group. |
java.lang.Object |
nextElement()
Retrieve the next member of the group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private javax.naming.NamingEnumeration memberUrls
private java.lang.String filter
private javax.naming.directory.SearchControls searchControls
private javax.naming.NamingEnumeration results
private boolean expandSubgroups
private java.util.ArrayList subgroups
private javax.naming.NamingEnumeration subgroupMembers
Constructor Detail |
---|
GroupOfURLs.Members()
GroupOfURLs.Members(javax.naming.NamingEnumeration memberUrls, java.lang.String filter, javax.naming.directory.SearchControls searchControls)
Method Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public boolean hasMore() throws javax.naming.NamingException
hasMore
in interface javax.naming.NamingEnumeration
javax.naming.NamingException
- If a problem is encountered while checking
whether the group has any more members.public java.lang.Object nextElement()
Group
.
nextElement
in interface java.util.Enumeration
LdapGroupFactory
object factory is active
then an object of class
Principal
or
Group
is returned.
However, when additional object factories are active then an
object of a different class may be returned.
java.util.NoSuchElementException
- If no more members exist or if a
NamingException
was encountered while
retrieving the next element.public java.lang.Object next() throws javax.naming.NamingException
Group
.
next
in interface javax.naming.NamingEnumeration
LdapGroupFactory
object factory is active
then an object of class
Principal
or
Group
is returned.
However, when additional object factories are active then an
object of a different class may be returned.
javax.naming.NamingException
- If a problem is encountered while retrieving the
next member of the group.
java.util.NoSuchElementException
- if no more members exist or if a
NamingException
was encountered while
retrieving the next element.public void close() throws javax.naming.NamingException
close
in interface javax.naming.NamingEnumeration
javax.naming.NamingException
- If a problem is encountered while
closing the enumeration.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |