|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectwoolpack.validator.DelegationValidator
woolpack.validator.TmpIndexValidator
public class TmpIndexValidator
一時インデックスをValidatorContext.setTmpIndex(int)
に設定して委譲するValidatorExpression
。
コンストラクタの概要 | |
---|---|
TmpIndexValidator(int tmpIndex,
ValidatorExpression expression)
コンストラクタ。 |
メソッドの概要 | |
---|---|
int |
getTmpIndex()
|
boolean |
interpret(ValidatorContext context)
値検証を実行するために呼び出される(called)。 |
クラス woolpack.validator.DelegationValidator から継承されたメソッド |
---|
getExpression |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public TmpIndexValidator(int tmpIndex, ValidatorExpression expression)
tmpIndex
- 一時インデックス。expression
- 委譲先。
java.lang.NullPointerException
- 引数が null の場合。
java.lang.IllegalArgumentException
- tmpIndex が負の場合。メソッドの詳細 |
---|
public boolean interpret(ValidatorContext context)
ValidatorExpression
の記述: RuntimeException
のサブ例外が発生する場合は
JavaDoc コメントに記載すると部品の可用性が維持される。
ValidatorExpression
内の interpret
DelegationValidator
内の interpret
context
- コンテキスト。
public int getTmpIndex()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |