<templateLibrary>要素
ネームスペース:  http://xmlns.oracle.com/uix/ui
派生元:  <ui:template>要素
グループ:  UIX Components
要素の型:  Template

<templateLibrary>要素は、任意の数のテンプレートのライブラリを表します。

構文
<templateLibrary >
     <!-- The following child can be anything derived from the given element -->
   <template> </template>
</templateLibrary>

注意: 
  • この要素は派生元要素のすべての属性と子要素を持つことができます。

  • 説明

    <templateLibrary>要素を使用すると、1つの<templateImport>によりテンプレートの集合全体をインポートできます。<templateImport>要素で<templateDefinition>要素を含む .uitファイルをポイントするかわりに、<templateLibrary>要素をルートとして含む .uitファイルを使用します。<templateLibrary>要素には、<templateImport>要素とインラインの<templateDefinition>要素の両方を含めることができます。


            <!-- File library.uit -->
            <templateLibrary xmlns="http://xmlns.oracle.com/uix/ui">
              <templateImport source="firstTemplate.uit"/>
              <templateImport source="secondTemplate.uit"/>
              <templateDefinition .../>
                ...
              </templateDefinition
            </templateLibrary>
    
            <!-- File somePage.uix -->
            <page ...>
    
              <templates xmlns="http://xmlns.oracle.com/uix/ui">
                <templateImport source="templates/library.uit"/>
              </templates>
    
            ...
              

    子要素

    説明 必須 組込み可能な数
    <template> 1つのテンプレートの定義またはインポート。
    いいえ 無限