-
- All Superinterfaces:
Cloneable,Serializable
- All Known Implementing Classes:
DefaultProfile
public interface Profile extends Cloneable, Serializable
Localization profile basic interface. Defines key values for profile.
-
-
Field Summary
Fields Modifier and Type Field Description static StringGET_LOCALE_METHODstatic StringGET_QUALIFIERS_METHODstatic colesico.framework.ioc.Key<Profile>SCOPE_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalegetLocale()Returns client locale.String[]getQualifiers()Returns localization qualifiers.
-
-
-
Field Detail
-
GET_LOCALE_METHOD
static final String GET_LOCALE_METHOD
- See Also:
- Constant Field Values
-
GET_QUALIFIERS_METHOD
static final String GET_QUALIFIERS_METHOD
- See Also:
- Constant Field Values
-
SCOPE_KEY
static final colesico.framework.ioc.Key<Profile> SCOPE_KEY
-
-
Method Detail
-
getLocale
Locale getLocale()
Returns client locale.- Returns:
-
getQualifiers
String[] getQualifiers()
Returns localization qualifiers. Localization qualifiers is used to select appropriate localized resource, etc The qualifiers in the array must be ordered in accordance with the order specified in the profile configuration- Returns:
- profile qualifiers
-
-