|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectorg.apache.commons.validator.ValidatorResults
このクラスは JavaBean に対して行われた妥当性チェック(のセット)の処理結果を保持します。 validation rules processed on JavaBean.
| フィールドの概要 | |
protected Map |
hResults
Map of validation results . |
| コンストラクタの概要 | |
ValidatorResults()
|
|
| メソッドの概要 | |
void |
add(Field field,
String validatorName,
boolean bResult)
Add a the result of a validator action. |
void |
add(Field field,
String validatorName,
boolean bResult,
Object value)
Add a the result of a validator action. |
void |
clear()
Clear all results recorded by this object. |
boolean |
empty()
Return true if there are no messages recorded
in this collection, or false otherwise. |
Iterator |
get()
Return the set of all recorded messages, without distinction by which property the messages are associated with. |
Map |
getResultValueMap()
Get a Map of any Objects
returned from validation routines. |
ValidatorResult |
getValidatorResult(String key)
Gets the ValidatorResult associated
with the key passed in. |
void |
merge(ValidatorResults res)
Merge another ValidatorResults into mine |
Iterator |
properties()
Return the set of property names for which at least one message has been recorded. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected Map hResults
| コンストラクタの詳細 |
public ValidatorResults()
| メソッドの詳細 |
public void merge(ValidatorResults res)
public void add(Field field,
String validatorName,
boolean bResult)
public void add(Field field,
String validatorName,
boolean bResult,
Object value)
public void clear()
public boolean empty()
true if there are no messages recorded
in this collection, or false otherwise.
public ValidatorResult getValidatorResult(String key)
ValidatorResult associated
with the key passed in. The key the ValidatorResult
is stored under is the Field's getKey method.
key - The key generated from Field.public Iterator get()
public Iterator properties()
ActionMessages.GLOBAL_MESSAGE will be one of the returned
property names.
public Map getResultValueMap()
Map of any Objects
returned from validation routines.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||