|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectwoolpack.validator.FormatValidator
public class FormatValidator
Format.format(java.lang.Object)を使用して
ValidatorContext.getTmpValue()
を変換し true を返すValidatorExpression。
適用しているパターン:Adapter。
| コンストラクタの概要 | |
|---|---|
FormatValidator(java.text.Format format)
コンストラクタ。 |
|
FormatValidator(FormatFactory factory)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
FormatFactory |
getFactory()
|
boolean |
interpret(ValidatorContext context)
値検証を実行するために呼び出される(called)。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public FormatValidator(FormatFactory factory)
factory - フォーマットのファクトリ。
java.lang.NullPointerException - 引数が null の場合。public FormatValidator(java.text.Format format)
Format.clone()で複製して利用する。
format - フォーマット。
java.lang.NullPointerException - 引数が null の場合。| メソッドの詳細 |
|---|
public boolean interpret(ValidatorContext context)
ValidatorExpression の記述: RuntimeExceptionのサブ例外が発生する場合は
JavaDoc コメントに記載すると部品の可用性が維持される。
ValidatorExpression 内の interpretcontext - コンテキスト。
java.lang.NullPointerException - 引数またはValidatorContext.getTmpValue()が null の場合。public FormatFactory getFactory()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||