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

<agent>要素は、エージェントに関する情報へのバインドを定義します。

構文
<agent
    [ application="ui:applicationType" ]
    [ os="ui:osType" ]
    [ type="ui:deviceClassType" ]
>
</agent>

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

  • 説明

    <agent>要素は、エージェントに関する情報へのバインドを定義します。次のようなエージェントの情報にアクセスできます。


     <styledText styleClass="OraInstructionText"
                    text="You are looking at this on a "/>
     <styledText styleClass="OraInstructionText" >
       <boundAttribute name="text">
         <if>
           <agent type="desktop"/>
           <fixed text="desktop or laptop."/>
           <if>
             <agent type="pda"/>
             <fixed text="pda."/>
             <fixed text="crazy device type!"/>
           </if>
         </if>
       </boundAttribute>
     </styledText>

    属性

    説明
    application 使用されるアプリケーション。指定可能な値はiexplorer、netscape、mozillaおよびiceです。
    ui:applicationType
    os 使用されるデバイスのオペレーティング・システム。指定可能な値はwindows、mac、linux、solarisおよびpalmです。
    ui:osType
    type デバイスのタイプ。指定可能な値はdesktopおよびpdaです。
    ui:deviceClassType