   ([namespace name]    (into-array Serializable [namespace name]))
   ([namespace name id] (into-array Serializable [namespace name id])))
 
-(defn- split-keys
-  "Splits keys from the native attribute service into a vector of three elements (some of which may be nil)."
+(defn- deconstruct-keys
+  "Deconstructs keys from the native attribute service into a vector of three elements (some of which may be nil)."
   [keys]
   (condp = (alength keys)
     1 [(aget keys 0) nil           nil]


(defn- handle-attribute
  [result attr-id value keys]
  (let [[namespace name id] (split-keys keys)]
    (conj result { :namespace namespace
                   :name      name
                   :id        id
                   :value     value })))

(defn- list-attrs-impl
  "Private implementation of list-attrs."
  [keys]
  (let [result   (atom [])

; limitations under the License.

(ns alfresco.attr
  (:refer-clojure :exclude [get set! list])
  (:require [clojure.string :as s]
            [alfresco.core  :as c]
            [alfresco.nodes :as n])
