|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectorg.apache.commons.validator.Arg
デフォルトのアーギュメントまたは妥当性チェック定義で指定されたアーギュメント
(例: required) はメッセージのパラメータに使用することができます。
このクラスは入れ替え可能な妥当性チェックでロケール毎のメッセージを
java.text.MessageFormat またはそれと同等なクラスを使用して生成する際に用いられます。
resource フィールドは保持している値に対して java.util.PropertyResourceBundle
のようなロケール毎のメッセージ取得機能を使用するかどうかを判断する際に使用されます。
resource フィールドのデフォルトは 'true' です。
java.text.MessageFormat
or an equivalent class. The resource field can be
used to determine if the value stored in the argument
is a value to be retrieved from a locale sensitive
message retrieval system like java.util.PropertyResourceBundle.
The resource field defaults to 'true'.
| フィールドの概要 | |
protected String |
key
The key or value of the argument. |
protected String |
name
The name dependency that this argument goes with (optional). |
protected boolean |
resource
Whether or not the key is a message resource (optional). |
| コンストラクタの概要 | |
Arg()
|
|
| メソッドの概要 | |
Object |
clone()
Creates and returns a copy of this object. |
String |
getKey()
Gets the key/value. |
String |
getName()
Gets the name of the dependency. |
boolean |
getResource()
Gets whether or not the key is a resource. |
void |
setKey(String key)
Sets the key/value. |
void |
setName(String name)
Sets the name of the dependency. |
void |
setResource(boolean resource)
Sets whether or not the key is a resource. |
String |
toString()
Returns a string representation of the object. |
| クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
protected String name
protected String key
protected boolean resource
| コンストラクタの詳細 |
public Arg()
| メソッドの詳細 |
public String getName()
public void setName(String name)
public String getKey()
public void setKey(String key)
public boolean getResource()
public void setResource(boolean resource)
public Object clone()
public String toString()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||