|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectorg.apache.commons.validator.Constant
constant(このクラス) はグローバルまたはロケール毎に不変なフィールドを定義する際の置き換えに使用することができます。
Field のプロパティフィールド、Var の値のフィールド、Msg
のキーのフィールド、Arg のキーのフィールドを入れ替えることが可能です。
例: <constant name="zip" value="^\d{5}$" />
mask="${zip}"
| フィールドの概要 | |
private String |
name
The name of the constant. |
private String |
value
The name of the constant. |
| コンストラクタの概要 | |
Constant()
|
|
| メソッドの概要 | |
String |
getName()
Gets the name of the constant. |
String |
getValue()
Gets the value of the constant. |
void |
setName(String name)
Sets the name of the constant. |
void |
setValue(String value)
Sets the value of the constant. |
String |
toString()
Returns a string representation of the object. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
private String name
private String value
| コンストラクタの詳細 |
public Constant()
| メソッドの詳細 |
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public String toString()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||