edu.vt.middleware.ldap.handler
public class CaseChangeAttributeHandler extends CopyAttributeHandler
CaseChangeAttributeHandler
provides the ability to modify the
case of attribute names and attribute values.logger
Constructor and Description |
---|
CaseChangeAttributeHandler() |
Modifier and Type | Method and Description |
---|---|
CaseChangeSearchResultHandler.CaseChange |
getAttributeNameCaseChange()
Returns the attribute name case change.
|
CaseChangeSearchResultHandler.CaseChange |
getAttributeValueCaseChange()
Returns the attribute value case change.
|
protected javax.naming.directory.Attribute |
processResult(SearchCriteria sc,
javax.naming.directory.Attribute attr)
This will return a deep copy of the supplied
Attribute . |
protected java.lang.Object |
processValue(SearchCriteria sc,
java.lang.Object value)
This returns the supplied value unaltered.
|
void |
setAttributeNameCaseChange(CaseChangeSearchResultHandler.CaseChange caseChange)
Sets the attribute name case change.
|
void |
setAttributeValueCaseChange(CaseChangeSearchResultHandler.CaseChange caseChange)
Sets the attribute value case change.
|
process, process, process
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process, process, process
public CaseChangeSearchResultHandler.CaseChange getAttributeNameCaseChange()
CaseChange
public void setAttributeNameCaseChange(CaseChangeSearchResultHandler.CaseChange caseChange)
caseChange
- CaseChange
public CaseChangeSearchResultHandler.CaseChange getAttributeValueCaseChange()
CaseChange
public void setAttributeValueCaseChange(CaseChangeSearchResultHandler.CaseChange caseChange)
caseChange
- CaseChange
protected javax.naming.directory.Attribute processResult(SearchCriteria sc, javax.naming.directory.Attribute attr) throws javax.naming.NamingException
Attribute
.processResult
in class CopyAttributeHandler
sc
- SearchCriteria
used to find enumerationattr
- Attribute
to copyAttribute
javax.naming.NamingException
- if the attribute values cannot be readprotected java.lang.Object processValue(SearchCriteria sc, java.lang.Object value)
processValue
in class CopyAttributeHandler
sc
- LdapSearchCritieria
used to find enumerationvalue
- Object
to processObject
Copyright © 2014. All Rights Reserved.