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, 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 javax.naming.directory.Attribute processResult(SearchCriteria sc, javax.naming.directory.Attribute attr) throws javax.naming.NamingException
Attribute.processResult in class CopyAttributeHandlersc - SearchCriteria used to find enumerationattr - Attribute to copyAttributejavax.naming.NamingException - if the attribute values cannot be readprotected java.lang.Object processValue(SearchCriteria sc, java.lang.Object value)
processValue in class CopyAttributeHandlersc - LdapSearchCritieria used to find enumerationvalue - Object to processObjectCopyright © 2014. All Rights Reserved.