<convert>要素 |
 |
ネームスペース: |
http://xmlns.oracle.com/uix/ui |
派生元: |
<ui:boundValue>要素 |
グループ: |
UIX Components |
要素の型: |
BoundValue |
<convert>要素は、子に型変換を実行するバインディングを定義します。
構文 |
 |
<convert> <!-- The following child can be anything derived from the given element -->
</convert>
注意:
この要素は派生元要素のすべての属性と子要素を持つことができます。
この要素にはテキストを含めることができます。
説明 |
 |
<convert>要素は、子に型変換を実行するバインディングを定義します。 テキストは子boundValueとして使用でき、適宜変換されます。
例 |
 |
<dateField name="aDateFieldName">
<boundAttribute name="value">
<!-- the dateField can convert long to Date automatically,
but if left as a string, will pass through without conversion
therefore we must convert the string to long here -->
<convert javaType="long">9999999999</convert>
</boundAttribute>
</dateField>
属性 |
 |
|
説明 |
型 |
javaType |
この属性のJava型。 値は完全なJavaクラス名、または次の値のいずれかです。
- string
- char
- boolean
- byte
- short
- int
- long
- float
- double
|
string |
|
子要素 |
 |
|
説明 |
必須 |
組込み可能な数 |
<(その他の要素)> |
変換するバインド値。 |
いいえ |
1 |
|