- java.lang.Object
-
- colesico.framework.profile.DefaultProfile
-
- All Implemented Interfaces:
Profile,Serializable,Cloneable
public class DefaultProfile extends Object implements Profile
Default profile implementation- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface colesico.framework.profile.Profile
GET_LOCALE_METHOD, GET_QUALIFIERS_METHOD, SCOPE_KEY
-
-
Constructor Summary
Constructors Constructor Description DefaultProfile(Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateQualifiers()LocalegetLocale()Returns client locale.String[]getQualifiers()Returns localization qualifiers.voidsetLocale(Locale locale)
-
-
-
Constructor Detail
-
DefaultProfile
public DefaultProfile(Locale locale)
-
-
Method Detail
-
createQualifiers
protected void createQualifiers()
-
getLocale
public Locale getLocale()
Description copied from interface:ProfileReturns client locale.
-
setLocale
public void setLocale(Locale locale)
-
getQualifiers
public String[] getQualifiers()
Description copied from interface:ProfileReturns 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- Specified by:
getQualifiersin interfaceProfile- Returns:
- profile qualifiers
-
-