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, 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 Attribute processResult(SearchCriteria sc, Attribute attr) throws NamingException
Attribute
.processResult
in class CopyAttributeHandler
sc
- SearchCriteria
used to find enumerationattr
- Attribute
to copyAttribute
NamingException
- if the attribute values cannot be readprotected Object processValue(SearchCriteria sc, Object value)
processValue
in class CopyAttributeHandler
sc
- LdapSearchCritieria
used to find enumerationvalue
- Object
to processObject
Copyright © 2014. All rights reserved.