mapping.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <?xml version="1.0" encoding="GB2312"?>
  2. <mapping>
  3. <description>***-components config mapping</description>
  4. <!--Mapping for Publish Server Config BEGIN-->
  5. <class
  6. name="com.trs.components.common.publish.config.persistent.PublishServerConfig">
  7. <map-to xml="publish-server" />
  8. <field name="detailPageSeperateTo51Style" type="boolean">
  9. <bind-xml name="detail-page-seperate-to-51style" node="element"></bind-xml>
  10. </field>
  11. <field name="publishInRootPath" type="boolean">
  12. <bind-xml name="publish-in-root-path" node="element"></bind-xml>
  13. </field>
  14. <field name="dirDividedByDate" type="boolean">
  15. <bind-xml name="dir-divided-by-date" node="element"></bind-xml>
  16. </field>
  17. <field name="dirDividedByDateFormat">
  18. <bind-xml name="dir-divided-by-date-format"
  19. node="element">
  20. </bind-xml>
  21. </field>
  22. <field name="loadBatchContentsPageSize">
  23. <bind-xml name="load-batch-contents-pagesize"
  24. node="element">
  25. </bind-xml>
  26. </field>
  27. <field name="sendWarningIfFileNotFound" type="boolean">
  28. <bind-xml name="send-warning-if-file-not-found"
  29. node="element">
  30. </bind-xml>
  31. </field>
  32. <field name="ignoreIfHostNotFound" type="boolean">
  33. <bind-xml name="ignore-if-host-not-found" node="element"></bind-xml>
  34. </field>
  35. <field name="autoPublishDocInHomeWhenNeeded" type="boolean">
  36. <bind-xml name="auto-publish-doc-in-home-when-needed"
  37. node="element">
  38. </bind-xml>
  39. </field>
  40. <field name="defaultEncoding">
  41. <bind-xml name="default-encoding" node="element"></bind-xml>
  42. </field>
  43. <field name="folderTypes" collection="collection"
  44. type="com.trs.components.common.publish.config.persistent.FolderTypeConfig"
  45. container="false">
  46. <bind-xml name="folder-types"></bind-xml>
  47. </field>
  48. <field name="contentTypes" collection="collection"
  49. type="com.trs.components.common.publish.config.persistent.ContentTypeConfig"
  50. container="false">
  51. <bind-xml name="content-types"></bind-xml>
  52. </field>
  53. <field name="tagFormatters" collection="collection"
  54. type="com.trs.components.common.publish.config.persistent.TagFormatterConfig"
  55. container="false">
  56. <bind-xml name="tag-formatters"></bind-xml>
  57. </field>
  58. <field name="laborResource"
  59. type="com.trs.components.common.publish.config.persistent.LaborResourceConfig">
  60. <bind-xml name="labor-resource" reference="true" />
  61. </field>
  62. <field name="templateParse"
  63. type="com.trs.components.common.publish.config.persistent.TemplateParseConfig">
  64. <bind-xml name="template-parse" reference="true" />
  65. </field>
  66. <field name="publishDistribution"
  67. type="com.trs.components.common.publish.config.persistent.PublishDistributionConfig">
  68. <bind-xml name="publish-distribution" reference="true" />
  69. </field>
  70. </class>
  71. <class
  72. name="com.trs.components.common.publish.config.persistent.FolderTypeConfig"
  73. auto-complete="true" identity="className">
  74. <field name="name">
  75. <bind-xml name="name" node="attribute" />
  76. </field>
  77. <field name="className">
  78. <bind-xml name="class-name" node="attribute" />
  79. </field>
  80. </class>
  81. <class
  82. name="com.trs.components.common.publish.config.persistent.ContentTypeConfig"
  83. auto-complete="true" identity="className">
  84. <field name="name">
  85. <bind-xml name="name" node="attribute" />
  86. </field>
  87. <field name="className">
  88. <bind-xml name="class-name" node="attribute" />
  89. </field>
  90. </class>
  91. <class
  92. name="com.trs.components.common.publish.config.persistent.LaborResourceConfig"
  93. auto-complete="true">
  94. <field name="highPriorityLaborsMax">
  95. <bind-xml name="high-priority-labors-max" node="element" />
  96. </field>
  97. <field name="lowPriorityLaborsMax">
  98. <bind-xml name="low-priority-labors-max" node="element" />
  99. </field>
  100. <field name="eachTaskLaborsMax">
  101. <bind-xml name="each-task-labors-max" node="element" />
  102. </field>
  103. <field name="retryTimeLimit">
  104. <bind-xml name="retry-time-limit" node="element" />
  105. </field>
  106. <field name="retryInterval">
  107. <bind-xml name="retry-interval" node="element" />
  108. </field>
  109. </class>
  110. <class
  111. name="com.trs.components.common.publish.config.persistent.TemplateParseConfig"
  112. auto-complete="true">
  113. <field name="tagsHavingSrc">
  114. <bind-xml name="tags-having-src" node="element" />
  115. </field>
  116. <field name="tagSrcAttributeNames">
  117. <bind-xml name="tag-src-attribute-names" node="element" />
  118. </field>
  119. <field name="supportedExts">
  120. <bind-xml name="supported-exts" node="element" />
  121. </field>
  122. <field name="supportedApdExts">
  123. <bind-xml name="supported-apd-exts" node="element" />
  124. </field>
  125. <field name="nameCacheMaxSize">
  126. <bind-xml name="name-cache-max-size" node="element" />
  127. </field>
  128. <field name="domCacheMaxSize">
  129. <bind-xml name="dom-cache-max-size" node="element" />
  130. </field>
  131. <field name="wcmOutlineContentsMaxNum">
  132. <bind-xml name="wcm-outline-contents-max-num"
  133. node="element" />
  134. </field>
  135. </class>
  136. <class
  137. name="com.trs.components.common.publish.config.persistent.PublishDistributionConfig"
  138. auto-complete="true">
  139. <field name="targetTypes" collection="collection"
  140. type="com.trs.components.common.publish.config.persistent.TargetTypeConfig"
  141. container="false">
  142. <bind-xml name="target-types"></bind-xml>
  143. </field>
  144. <field name="maxTargetsEachFolder">
  145. <bind-xml name="max-targets-each-folder" node="element" />
  146. </field>
  147. </class>
  148. <class
  149. name="com.trs.components.common.publish.config.persistent.TargetTypeConfig">
  150. <field name="name">
  151. <bind-xml name="name" node="element" />
  152. </field>
  153. <field name="desc">
  154. <bind-xml name="desc" node="element" />
  155. </field>
  156. <field name="distributor">
  157. <bind-xml name="distributor" node="element" />
  158. </field>
  159. <field name="parameters">
  160. <bind-xml name="parameters" node="element" />
  161. </field>
  162. </class>
  163. <class
  164. name="com.trs.components.common.publish.config.persistent.TagFormatterConfig">
  165. <field name="tagName">
  166. <bind-xml name="tag-name" node="attribute" />
  167. </field>
  168. <field name="className">
  169. <bind-xml name="class-name" node="attribute" />
  170. </field>
  171. </class>
  172. <!--Mapping for Publish Server Config END-->
  173. <!--Mapping for Publish File Naming BEGIN-->
  174. <class
  175. name="com.trs.components.common.publish.config.persistent.FileNamedStyle">
  176. <map-to xml="file-naming" />
  177. <field name="pattern">
  178. <bind-xml name="pattern" node="element" />
  179. </field>
  180. <field name="prefix">
  181. <bind-xml name="prefix" node="element" />
  182. </field>
  183. <field name="token">
  184. <bind-xml name="token" node="element" />
  185. </field>
  186. <field name="adden">
  187. <bind-xml name="adden" node="element" />
  188. </field>
  189. </class>
  190. <!--Mapping for Publish File Naming END-->
  191. </mapping>