Changeset 447 for trunk/src/json/JTM
- Timestamp:
- 05/02/11 15:05:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/json/JTM/jtm_tools.lisp ¶
r445 r447 92 92 (get-all-associations revision)))) 93 93 (if version-1.1-p 94 assocs95 94 (set-difference 96 95 assocs 97 96 (loop for top in tm-tops 98 append (instance-of-associations top :revision revision)))))) 97 append (instance-of-associations top :revision revision))) 98 assocs))) 99 99 (prefixes 100 100 (when version-1.1-p … … 107 107 (export-prefix-list-to-jtm prefixes) ","))) 108 108 (iis (concat "\"item_identifiers\":" 109 (export-identifiers-to-jtm 110 tm :identifier-type 'ItemIdentifierC :prefixes prefixes 111 :revision revision) ",")) 109 (if tm 110 (export-identifiers-to-jtm 111 tm :identifier-type 'ItemIdentifierC :prefixes prefixes 112 :revision revision) 113 "null") ",")) 112 114 (topics (concat "\"topics\":" 113 115 (export-topics-to-jtm 114 116 tm-tops :prefixes prefixes :instance-of-p version-1.1-p 115 :item-type-p nil :revision revision) ))117 :item-type-p nil :revision revision) ",")) 116 118 (assocs (concat "\"associations\":" 117 119 (export-associations-to-jtm 118 120 tm-assocs :prefixes prefixes 119 :item-type-p nil :revision revision) ))120 (item-type (concat "\"item_type\": " item_type-topicmap","))121 :item-type-p nil :revision revision) ",")) 122 (item-type (concat "\"item_type\":\"" item_type-topicmap "\",")) 121 123 (tm-reifier 122 124 (concat "\"reifier\":" … … 125 127 :revision revision) 126 128 "null")))) 127 (concat "{" version prefix-value iis topics assocs item-type tm-reifier"}"))))) 129 (concat "{" version prefix-value iis topics assocs item-type tm-reifier 130 "}"))))) 128 131 129 132 … … 133 136 "Exports a topic map or all stored constructs as JTM file by calling 134 137 export-as-jtm-string." 135 (declare (type (or Null String) jtm-path tm-id) 138 (declare (type (or Null String) tm-id) 139 (type (or String Pathname) jtm-path) 136 140 (Symbol jtm-format) 137 141 (Integer revision))
Note: See TracChangeset
for help on using the changeset viewer.