Class CaseChangeAttributeHandler

  • All Implemented Interfaces:
    AttributeHandler, ResultHandler<javax.naming.directory.Attribute,​javax.naming.directory.Attribute>

    public class CaseChangeAttributeHandler
    extends CopyAttributeHandler
    CaseChangeAttributeHandler provides the ability to modify the case of attribute names and attribute values.
    Version:
    $Revision: 1330 $ $Date: 2010-05-23 18:10:53 -0400 (Sun, 23 May 2010) $
    Author:
    Middleware Services
    • Constructor Detail

      • CaseChangeAttributeHandler

        public CaseChangeAttributeHandler()
    • Method Detail

      • setAttributeValueCaseChange

        public void setAttributeValueCaseChange​(CaseChangeSearchResultHandler.CaseChange caseChange)
        Sets the attribute value case change.
        Parameters:
        caseChange - CaseChange
      • processResult

        protected javax.naming.directory.Attribute processResult​(SearchCriteria sc,
                                                                 javax.naming.directory.Attribute attr)
                                                          throws javax.naming.NamingException
        This will return a deep copy of the supplied Attribute.
        Overrides:
        processResult in class CopyAttributeHandler
        Parameters:
        sc - SearchCriteria used to find enumeration
        attr - Attribute to copy
        Returns:
        Attribute
        Throws:
        javax.naming.NamingException - if the attribute values cannot be read
      • processValue

        protected java.lang.Object processValue​(SearchCriteria sc,
                                                java.lang.Object value)
        This returns the supplied value unaltered.
        Overrides:
        processValue in class CopyAttributeHandler
        Parameters:
        sc - LdapSearchCritieria used to find enumeration
        value - Object to process
        Returns:
        Object