このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XValidator
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: form :: validation ::

unpublished interface XValidator
Usage 制限s
not published
Description
明示するs a 構成要素 able to 実証する (the content of) other 構成要素s

Validators support simple 有効性,効力 checks and retrieving justifications for invalidity.

Validators may additionally support dynamic 有効性,効力 強制s. In such a 事例/患者, the 有効性,効力 of a given value may change, without the value changing itself.
To be 通知するd about this, 利益/興味d 構成要素s should 登録(する) as XValidityConstraintListener.

See also
XValidatable

Methods' 要約
isValid 決定するs whether the given value is valid  
explainInvalid retrieves a justification for the invalidity of the given value  
addValidityConstraintListener 登録(する)s the given 有効性,効力 listener.  
removeValidityConstraintListener 取り消すs the given 有効性,効力 listener  
Methods' 詳細(に述べる)s
isValid
boolean
isValid( [in] any  Value );

Description
決定するs whether the given value is valid
Parameter aValue
the value to check for 有効性,効力
Returns
true if and only if the value is considered valid.
explainInvalid
string
explainInvalid( [in] any  Value );

Description
retrieves a justification for the invalidity of the given value
Parameter aValue
the value which has been 認めるd as 存在 無効の
Returns
a human-readable string, which explains why the given valus is considered 無効の.
addValidityConstraintListener
無効の
addValidityConstraintListener( [in] XValidityConstraintListener  Listener )
raises( ::com::sun::星/主役にする::lang::NullPointerException );

Description
登録(する)s the given 有効性,効力 listener.

Usually, an XValidatable instance will also 追加する itself as 有効性,効力 listener, as soon as the validator is introduced to it.

実施s which do not support dynamic 有効性,効力 contraints should 簡単に ignore this call.

Throws
::com::sun::星/主役にする::lang::NullPointerException if the given listener is NULL
See also
XValidityConstraintListener
removeValidityConstraintListener
無効の
removeValidityConstraintListener( [in] XValidityConstraintListener  Listener )
raises( ::com::sun::星/主役にする::lang::NullPointerException );

Description
取り消すs the given 有効性,効力 listener
Throws
::com::sun::星/主役にする::lang::NullPointerException if the given listener is NULL
See also
XValidityConstraintListener
最高の,を越す of Page

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.