edu.vt.middleware.ldap.handler
public final class AttributesProcessor extends java.lang.Object
AttributesProcessor provides methods to help with the processing
of Attributes objects using an AttributeHandler.| Modifier and Type | Method and Description |
|---|---|
static javax.naming.directory.Attributes |
executeHandler(SearchCriteria sc,
javax.naming.directory.Attributes attrs,
AttributeHandler handler)
Process the attributes of an ldap search search.
|
static javax.naming.directory.Attributes |
executeHandler(SearchCriteria sc,
javax.naming.directory.Attributes attrs,
AttributeHandler handler,
java.lang.Class<?>[] ignore)
Process the attributes of an ldap search search.
|
public static javax.naming.directory.Attributes executeHandler(SearchCriteria sc, javax.naming.directory.Attributes attrs, AttributeHandler handler) throws javax.naming.NamingException
sc - SearchCriteria used to find search resultattrs - Attributes to pass to the handlerhandler - AttributeHandler to process attributesAttributes handler processed attributesjavax.naming.NamingException - if the LDAP returns an errorpublic static javax.naming.directory.Attributes executeHandler(SearchCriteria sc, javax.naming.directory.Attributes attrs, AttributeHandler handler, java.lang.Class<?>[] ignore) throws javax.naming.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 attributesjavax.naming.NamingException - if the LDAP returns an errorCopyright © 2014. All Rights Reserved.