|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ldap.core.CollectingNameClassPairCallbackHandler
public abstract class CollectingNameClassPairCallbackHandler
A NameClassPairCallbackHandler to collect all results in an internal List.
LdapTemplate
Constructor Summary | |
---|---|
CollectingNameClassPairCallbackHandler()
|
Method Summary | |
---|---|
List |
getList()
Get the assembled list. |
abstract Object |
getObjectFromNameClassPair(NameClassPair nameClassPair)
Handle a NameClassPair and transform it to an Object of the desired type and with data from the NameClassPair. |
void |
handleNameClassPair(NameClassPair nameClassPair)
Pass on the supplied NameClassPair to getObjectFromNameClassPair(NameClassPair) and add the result to
the internal list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectingNameClassPairCallbackHandler()
Method Detail |
---|
public List getList()
public void handleNameClassPair(NameClassPair nameClassPair)
getObjectFromNameClassPair(NameClassPair)
and add the result to
the internal list.
handleNameClassPair
in interface NameClassPairCallbackHandler
nameClassPair
- the NameClassPair returned from the
NamingEnumeration
.public abstract Object getObjectFromNameClassPair(NameClassPair nameClassPair)
nameClassPair
- a NameClassPair from a search operation.
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |