properties要素とproperty要素

この項では、<properties>要素と<property>要素について説明します。

<properties>要素

<properties>要素の構造は次のとおりです。

<properties locales="cdata">
   <property>...
   </property> [0..n]
</properties>

<properties>要素の説明

<properties>要素では、一連のプロパティを定義します。ロケール固有のプロパティを定義するには、ロケール属性を指定します。次に例を示します。

<!-- Properties for all locales -->
<properties>
 ...Property definitions here...
</properties>

<!--Korean specific properties-->
<properties locales="ko-KR">
 ...Korean-specific property definitions here...
</properties>

<property>要素

<type1>要素の構造は次のとおりです。

<property name="cdata">
  ...pcdata...
</property>

<property>要素の属性

<property>要素には、唯一の属性nameがあり、これによってプロパティ名が指定されます。

<property>要素の説明

プロパティは名前と値のペアです。名前属性に内部プロパティ名(キー)を、要素値にその値を指定します。

構成ファイルで使用される内部プロパティ名は、「ランタイム構成の定義」のプロパティの説明に記載されています。

<properties>
  <property name="system-temp-dir">d:\tmp</property>
  <property name="system-cache-page-size">50</property>
  <property name="pdf-replace-smart-quotes">false</property>
</properties>