     :resolve-entities
     :temporal-collection})
 
-(def doc-format
-  {:xml    DocumentFormat/XML
-   :json   DocumentFormat/JSON
-   :text   DocumentFormat/TEXT
-   :none   DocumentFormat/NONE
-   :binary DocumentFormat/BINARY})
-
-(def repair-level
-  {:default DocumentRepairLevel/DEFAULT
-   :full    DocumentRepairLevel/FULL
-   :none    DocumentRepairLevel/NONE})
-
 (defn content-creation-options
   "Creates a ContentCreateOptions object (to pass to a ContentFactory
   newContent call) out of the given options map. See

  (when-let [uo (:user-object options)]
    (.setUserObject session uo))
  (when-let [tm (:transaction-mode options)]
    (.setTransactionMode session (transaction-modes tm)))
  (when-let [tt (:transaction-timeout options)]
    (.setTransactionTimeout session tt))
  session)

                                 (keyword (.toString (.getCapability %))))
                      (.getPermissions opts))
   :quality (.getQuality opts)
   :repair-level ((clojure.set/map-invert doc-repair-level) (.getRepairLevel opts))
   :resolve-buffer-size (.getResolveBufferSize opts)
   :resolve-entities (.getResolveEntities opts)
   :temporal-collection (.getTemporalCollection opts)})
