XMLAttributes

XMLAttribute(An XML attribute.)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] add(name, value, [withProperties]) XMLAttribute新しいオブジェクトを作成し、それを返す
name 文字列値名前
value 文字列値
[withProperties] Objectプロパティを設定
[18][19][20][21] anyItem() XMLAttributeどれかのオブジェクトを返す
[18][19][20][21] count() 数値要素数を返す
[18][19][20][21] everyItem() XMLAttribute (Array)全てのオブジェクトを返す
[18][19][20][21] firstItem() XMLAttribute最初のオブジェクトを返す
[18][19][20][21] item(index) XMLAttributeインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[18][19][20][21] itemByName(name) XMLAttribute名前で指定したオブジェクトを返す
name 文字列値
[18][19][20][21] itemByRange(from, to) XMLAttribute (Array)範囲で指定したオブジェクトを返す
from XMLAttribute, 数値, 文字列値範囲の開始
to XMLAttribute, 数値, 文字列値範囲の終了
[18][19][20][21] lastItem() XMLAttribute最後のオブジェクトを返す
[18][19][20][21] middleItem() XMLAttribute真ん中のオブジェクトを返す
[18][19][20][21] nextItem(obj) XMLAttribute一つ後のオブジェクトを返す
obj XMLAttribute位置の基準になるオブジェクト
[18][19][20][21] previousItem(obj) XMLAttribute一つ前のオブジェクトを返す
obj XMLAttribute位置の基準になるオブジェクト
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す

XMLAttribute

An XML attribute.

プロパティ(parentとその逆)

Ver.プロパティR/O
[18][19][20][21] parent XMLElement
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] name 文字列値オブジェクトの名前
[18][19][20][21] properties Object
[18][19][20][21] value 文字列値The value of the XMLAttribute.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] convertToElement([located], [markupTag]) XMLElementConverts the XML attribute to a child element of its parent element.
[located] XMLElementLocation
XMLElementLocation
Ver.プロパティ値/管理用文字説明
[18][19][20][21]ELEMENT_END1483042404
Xend
Locates the element at the end of the containing object.
[18][19][20][21]ELEMENT_START1482844014
Xbgn
Locates the element at the beginning of the containing object.
(既定値=XMLElementLocation.ELEMENT_START)
[markupTag] XMLTag新しいXML要素に適用するXMLタグ
[18][19][20][21] getElements() Array( XMLAttribute )オブジェクト参照を返す
[18][19][20][21] remove() なし削除
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] select([existingSelection]) なし選択状態にする
[existingSelection] SelectionOptions
SelectionOptions
Ver.プロパティ値/管理用文字説明
[18][19][20][21]ADD_TO1633969202
add2
追加選択する
[18][19][20][21]REMOVE_FROM1919249734
remF
選択から削除する
[18][19][20][21]REPLACE_WITH1919250519
repW
置き換える
[18][19][20][21]SET_KEY1936028779
setk
整列のキーオブジェクトにする
既に選択されているものがあった場合 (既定値=SelectionOptions.REPLACE_WITH)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.