public final class AttributesProcessor extends Object
AttributesProcessor provides methods to help with the processing
of Attributes objects using an AttributeHandler.| Modifier and Type | Method and Description |
|---|---|
static Attributes |
executeHandler(SearchCriteria sc,
Attributes attrs,
AttributeHandler handler)
Process the attributes of an ldap search search.
|
static Attributes |
executeHandler(SearchCriteria sc,
Attributes attrs,
AttributeHandler handler,
Class<?>[] ignore)
Process the attributes of an ldap search search.
|
public static Attributes executeHandler(SearchCriteria sc, Attributes attrs, AttributeHandler handler) throws NamingException
sc - SearchCriteria used to find search resultattrs - Attributes to pass to the handlerhandler - AttributeHandler to process attributesAttributes handler processed attributesNamingException - if the LDAP returns an errorpublic static Attributes executeHandler(SearchCriteria sc, Attributes attrs, AttributeHandler handler, Class<?>[] ignore) throws NamingException
sc - SearchCriteria used to find search resultattrs - Attributes to pass to the handlerhandler - AttributeHandler to process attributesignore - Class[] of exception types to ignoreAttributes handler processed attributesNamingException - if the LDAP returns an errorCopyright © 2014. All rights reserved.