|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.handler.AbstractResultHandler<T,T>
edu.vt.middleware.ldap.handler.CopyResultHandler<Attribute>
edu.vt.middleware.ldap.handler.CopyAttributeHandler
edu.vt.middleware.ldap.handler.RecursiveAttributeHandler
public class RecursiveAttributeHandler
RecursiveAttributeHandler will recursively search for attributes
of the same name and combine them into one attribute. Attribute values must
represent DNs in the LDAP.
| Field Summary |
|---|
| Fields inherited from class edu.vt.middleware.ldap.handler.AbstractResultHandler |
|---|
logger |
| Constructor Summary | |
|---|---|
RecursiveAttributeHandler(Ldap l,
String attrName)
Creates a new RecursiveAttributeHandler with the supplied ldap
and attribute name. |
|
RecursiveAttributeHandler(String attrName)
Creates a new RecursiveAttributeHandler with the supplied
attribute name. |
|
| Method Summary | |
|---|---|
String |
getAttributeName()
Returns the attribute name that will be recursively searched on. |
Ldap |
getSearchResultLdap()
Gets the Ldap used by the search operation invoking this
handler. |
protected Attribute |
processResult(SearchCriteria sc,
Attribute attr)
This will return a deep copy of the supplied Attribute. |
void |
setAttributeName(String s)
Sets the attribute name that will be recursively searched on. |
void |
setSearchResultLdap(Ldap l)
Sets the Ldap used by the search operation invoking this
handler. |
| Methods inherited from class edu.vt.middleware.ldap.handler.CopyAttributeHandler |
|---|
processValue |
| Methods inherited from class edu.vt.middleware.ldap.handler.AbstractResultHandler |
|---|
process, process, process |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.vt.middleware.ldap.handler.ResultHandler |
|---|
process, process, process |
| Constructor Detail |
|---|
public RecursiveAttributeHandler(String attrName)
RecursiveAttributeHandler with the supplied
attribute name.
attrName - String
public RecursiveAttributeHandler(Ldap l,
String attrName)
RecursiveAttributeHandler with the supplied ldap
and attribute name.
l - LdapattrName - String| Method Detail |
|---|
public Ldap getSearchResultLdap()
Ldap used by the search operation invoking this
handler.
getSearchResultLdap in interface ExtendedAttributeHandlerLdappublic void setSearchResultLdap(Ldap l)
Ldap used by the search operation invoking this
handler.
setSearchResultLdap in interface ExtendedAttributeHandlerl - Ldappublic String getAttributeName()
String attribute namepublic void setAttributeName(String s)
s - String
protected Attribute processResult(SearchCriteria sc,
Attribute attr)
throws NamingException
Attribute.
processResult in class CopyAttributeHandlersc - SearchCriteria used to find enumerationattr - Attribute to copy
Attribute
NamingException - if the attribute values cannot be read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||