ValidationErrors

ValidationError(An XML validation error.)のコレクション

プロパティ

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

メソッド

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

ValidationError

An XML validation error.

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

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

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] attributeName 文字列値The attribute name if the validation error refers to an attribute.
[18][19][20][21] element XMLElementThe element that caused the validation error.
[18][19][20][21] errorMessage 文字列値The validation error message.
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] properties Object

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] getElements() Array( ValidationError )オブジェクト参照を返す
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.