org.apache.commons.validator
クラス ValidatorResult

java.lang.Object
  拡張org.apache.commons.validator.ValidatorResult
すべての実装インタフェース:
Serializable

public class ValidatorResult
extends Object
implements Serializable

このクラスは JavaBean に対して行われた妥当性チェック(のセット)の処理結果を保持します。

バージョン:
$Revision: 1.1.1.1 $ $Date: 2004/02/13 10:02:01 $
作成者:
David Winterfeldt
関連項目:
直列化された形式
翻訳者:
日置 聡

入れ子クラスの概要
protected  class ValidatorResult.ResultStatus
          Contains the status of the validation.
 
フィールドの概要
protected  Field field
          Field being validated.
protected  Map hAction
          Map of results.
 
コンストラクタの概要
ValidatorResult(Field field)
          Constructs a ValidatorResult with the associated field being validated.
 
メソッドの概要
 void add(String validatorName, boolean result)
          Add the result of a validator action.
 void add(String validatorName, boolean result, Object value)
          Add the result of a validator action.
 boolean containsAction(String validatorName)
           
 Map getActionMap()
           
 boolean isValid(String validatorName)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

hAction

protected Map hAction
Map of results. The key is the name of the ValidatorAction and the value is whether or not this field passed or not.


field

protected Field field
Field being validated.

コンストラクタの詳細

ValidatorResult

public ValidatorResult(Field field)
Constructs a ValidatorResult with the associated field being validated.

メソッドの詳細

add

public void add(String validatorName,
                boolean result)
Add the result of a validator action.


add

public void add(String validatorName,
                boolean result,
                Object value)
Add the result of a validator action.


containsAction

public boolean containsAction(String validatorName)

isValid

public boolean isValid(String validatorName)

getActionMap

public Map getActionMap()


このドキュメントは、Ja-Jakartaにより訳されました。 コメントがある場合は report@jajakarta.orgまでお願いします。
Translated into Japanese by jajakarta.org. The original page is here.
Copyright (c) 2002-2003 - Apache Software Foundation