| org.netbeans.modules.web.jsf.api.facesmodel.LocaleConfig
All known Subclasses: org.netbeans.modules.web.jsf.impl.facesmodel.LocaleConfigImpl,
LocaleConfig | public interface LocaleConfig extends JSFConfigComponent(Code) | | The "locale-config" element allows the app developer to
declare theĀ supported locales for this application.
author: Petr Pisl |
Method Summary | |
void | addSupportedLocales(SupportedLocale locale) The "supported-locale" element allows authors to declare
which locales are supported in this application instance.
It must be specified as :language:[_:country:[_:variant:]]
without the colons, for example "ja_JP_SJIS". | void | addSupportedLocales(int index, SupportedLocale locale) The "supported-locale" element allows authors to declare
which locales are supported in this application instance.
It must be specified as :language:[_:country:[_:variant:]]
without the colons, for example "ja_JP_SJIS". | DefaultLocale | getDefaultLocale() The "default-locale" element declares the default locale
for this application instance. | List<SupportedLocale> | getSupportedLocales() The "supported-locale" element allows authors to declare
which locales are supported in this application instance. | void | setDefaultLocale(DefaultLocale locale) The "default-locale" element declares the default locale
for this application instance.
It must be specified as :language:[_:country:[_:variant:]]
without the colons, for example "ja_JP_SJIS". |
DEFAULT_LOCALE | final public static String DEFAULT_LOCALE(Code) | | Property name of <default-locale> element.
|
SUPPORTED_LOCALE | final public static String SUPPORTED_LOCALE(Code) | | Property name of <supported-locale> element.
|
addSupportedLocales | void addSupportedLocales(SupportedLocale locale)(Code) | | The "supported-locale" element allows authors to declare
which locales are supported in this application instance.
It must be specified as :language:[_:country:[_:variant:]]
without the colons, for example "ja_JP_SJIS". The
separators between the segments may be '-' or '_'.
Parameters: locale - the supported locale |
addSupportedLocales | void addSupportedLocales(int index, SupportedLocale locale)(Code) | | The "supported-locale" element allows authors to declare
which locales are supported in this application instance.
It must be specified as :language:[_:country:[_:variant:]]
without the colons, for example "ja_JP_SJIS". The
separators between the segments may be '-' or '_'.
Parameters: index - where will be putted Parameters: locale - the supported locale |
getDefaultLocale | DefaultLocale getDefaultLocale()(Code) | | The "default-locale" element declares the default locale
for this application instance.
the default locale |
getSupportedLocales | List<SupportedLocale> getSupportedLocales()(Code) | | The "supported-locale" element allows authors to declare
which locales are supported in this application instance.
a list of supported locales |
setDefaultLocale | void setDefaultLocale(DefaultLocale locale)(Code) | | The "default-locale" element declares the default locale
for this application instance.
It must be specified as :language:[_:country:[_:variant:]]
without the colons, for example "ja_JP_SJIS". The
separators between the segments may be '-' or '_'.
Parameters: locale - the default locale |
|
|