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 Attribute |
processResult(SearchCriteria sc,
Attribute attr)
This will return a deep copy of the supplied
Attribute. |
protected Object |
processValue(SearchCriteria sc,
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, processclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocess, process, processpublic CaseChangeSearchResultHandler.CaseChange getAttributeNameCaseChange()
CaseChangepublic void setAttributeNameCaseChange(CaseChangeSearchResultHandler.CaseChange caseChange)
caseChange - CaseChangepublic CaseChangeSearchResultHandler.CaseChange getAttributeValueCaseChange()
CaseChangepublic void setAttributeValueCaseChange(CaseChangeSearchResultHandler.CaseChange caseChange)
caseChange - CaseChangeprotected Attribute processResult(SearchCriteria sc, Attribute attr) throws NamingException
Attribute.processResult in class CopyAttributeHandlersc - SearchCriteria used to find enumerationattr - Attribute to copyAttributeNamingException - if the attribute values cannot be readprotected Object processValue(SearchCriteria sc, Object value)
processValue in class CopyAttributeHandlersc - LdapSearchCritieria used to find enumerationvalue - Object to processObjectCopyright © 2014. All rights reserved.