Class CopyAttributeHandler

    • Constructor Detail

      • CopyAttributeHandler

        public CopyAttributeHandler()
    • Method Detail

      • 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 CopyResultHandler<javax.naming.directory.Attribute>
        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.
        Parameters:
        sc - LdapSearchCritieria used to find enumeration
        value - Object to process
        Returns:
        Object