|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectorg.apache.commons.validator.FormSet
Locale をベースにした国、言語等ごとに保持された
Form のセットを保持します。
| フィールドの概要 | |
private boolean |
bProcessed
Whether or not the this FormSet was processed
for replacing variables in strings with their values. |
private String |
country
Country component of Locale (optional). |
private org.apache.commons.collections.FastHashMap |
hConstants
A FastHashMap of Constants
using the name field of the Constant as the key. |
private org.apache.commons.collections.FastHashMap |
hForms
A FastHashMap of Forms
using the name field of the Form as the key. |
private String |
language
Language component of Locale (required). |
private String |
variant
Variant component of Locale (optional). |
| コンストラクタの概要 | |
FormSet()
|
|
| メソッドの概要 | |
void |
addConstant(Constant c)
Add a Constant (locale level). |
void |
addConstantParam(String name,
String value)
Add a Constant to the locale level. |
void |
addForm(Form f)
Add a Form to the FormSet. |
String |
getCountry()
Gets the equivalent of the country component of Locale. |
Form |
getForm(Object key)
Retrieve a Form based on the form name. |
Map |
getForms()
A Map of Forms is returned as an
unmodifiable Map with the key based on the form name. |
String |
getLanguage()
Gets the equivalent of the language component of Locale. |
String |
getVariant()
Gets the equivalent of the variant component of Locale. |
boolean |
isProcessed()
Whether or not the this FormSet was processed
for replacing variables in strings with their values. |
void |
process(Map globalConstants)
Processes all of the Forms, set FastHashMaps
to 'fast' mode. |
void |
setCountry(String country)
Sets the equivalent of the country component of Locale. |
void |
setLanguage(String language)
Sets the equivalent of the language component of Locale. |
void |
setVariant(String variant)
Sets the equivalent of the variant component of Locale. |
String |
toString()
Returns a string representation of the object. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
private boolean bProcessed
FormSet was processed
for replacing variables in strings with their values.
private String language
Locale (required).
private String country
Locale (optional).
private String variant
Locale (optional).
private org.apache.commons.collections.FastHashMap hForms
FastHashMap of Forms
using the name field of the Form as the key.
private org.apache.commons.collections.FastHashMap hConstants
FastHashMap of Constants
using the name field of the Constant as the key.
| コンストラクタの詳細 |
public FormSet()
| メソッドの詳細 |
public boolean isProcessed()
FormSet was processed
for replacing variables in strings with their values.
public String getLanguage()
Locale.
public void setLanguage(String language)
Locale.
public String getCountry()
Locale.
public void setCountry(String country)
Locale.
public String getVariant()
Locale.
public void setVariant(String variant)
Locale.
public void addConstant(Constant c)
Constant (locale level).
public void addConstantParam(String name,
String value)
Constant to the locale level.
public void addForm(Form f)
Form to the FormSet.
public Form getForm(Object key)
Form based on the form name.
public Map getForms()
Map of Forms is returned as an
unmodifiable Map with the key based on the form name.
public void process(Map globalConstants)
Forms, set FastHashMaps
to 'fast' mode.
public String toString()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||