Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document lists the format of method parameters that you can use in:

  • Method calls on objects as XML event handlers
  • UI XML document resolution syntax

The following table describes formats that you can use for parameters that you use in declarative method calls:

...

メソッドパラメータのフォーマット

ここでは、次の場合に使用可能なメソッドパラメータのフォーマットのリストを示します。

  • XML イベント ハンドラを使用した、オブジェクトのメソッド呼び出し
  • UI XML ドキュメントの解決シンタックス
次の表では、宣言的なメソッドの呼び出しで使用するパラメータに使用可能なフォーマットについて説明します。
パラメータ
説明
this
現在の要素を示します。
this.attName
Indicates attribute value of attName on the current element. For example
現在の要素について attName の属性値を示します。例: this.text
5
An integer.
整数型
5.5
A double.
倍精度小数点型
true/false
A boolean.
ブール型
"string"
A string surrounded by double quotes.
二重引用符で囲まれた文字列
-
To include a freestanding
独立した " (
double quote
二重引用符)
, use
を含める場合は\"
  
を使用
-
To include a freestanding
独立した \ (
backslash
バックスラッシュ)
, use
を含める場合は\\を使用
Example
: "Dave said \"hello\" "
'string'
A string surrounded by single quotes.
一重引用符で囲まれた文字列
-
To include a freestanding
独立した ' (
single quote
一重引用符)
use
を含める場合は \' を使用
-
To include a freestanding
独立した \ (
backslash
バックスラッシュ)
, use
を含める場合は \\ を使用
Example
: 'Dave said \'hello'\ '
elementId -
An element in the UI dom.
Example
UI DOM の要素
: myButton
elementId.attName
Indicates attribute value of attName on an element in the UI dom.
Example
UI DOM 内の要素について attName の属性値を示します。
: myButton.text
container://name
Indicates an object in the given container. Container names include mcomacro and document.
Example
指定されたコンテナ内のオブジェクトを示します。コンテナ名には、MCO、マクロ、およびドキュメントが含まれます。
: container://nxml
Note: You can add additional containers through the ClientSession interface.
注: ClientSession インターフェイスを使用して追加のコンテナを追加できます。
container://name.method(... )
Indicates a method call on an obect in the given container.
Example
指定されたコンテナ内にあるオブジェクトのメソッド呼び出しを示します。
: mco://myMco.do()
name.method(...)
Indicates a method call on a system service availabe in XML. 
Example
XML で使用可能なシステム サービスのメソッド呼び出しを示します。
: XPathService.evaluateAsString( '/button/text()' )
Note: You can add System services through the ClientSession interface.
注: ClientSession インターフェイスを使用してシステム サービスを追加できます。