public abstract class LocaleAwareValueHelper extends BasicValueHelper
Locale-aware helper. Subclasses are encouraged to use
getLocale(Options) to obtain the Locale.VALUE_TAG_TYPESHELPER_TAG_TYPESconfiguration| Constructor and Description |
|---|
LocaleAwareValueHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected Locale |
getCurrentLocale() |
protected Locale |
getCurrentLocale(Options options) |
protected Locale |
getLocale(Options options) |
protected Set<String> |
getSupportedHashKeys() |
protected void |
init()
Can be overridden so that there's no need to call
super.init(Configuration). |
allowedTagTypesgetRequiredHashKeys, numberOfRequiredHashEntries, numberOfRequiredParameters, validateappend, convertAndAppend, convertValue, isSection, isUnescapeVariable, isVariablecheckNotInitialized, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationKeys, initprotected void init()
AbstractConfigurationAwaresuper.init(Configuration).init in class AbstractHelperprotected Set<String> getSupportedHashKeys()
getSupportedHashKeys in class BasicHelper* to
allow any hash keysprotected Locale getCurrentLocale()
LocaleSupportprotected Locale getCurrentLocale(Options options)
options - LocaleSupportprotected Locale getLocale(Options options)
options - OptionsHashKeys.LOCALE key, the value from the context
for the OptionsHashKeys.LOCALE key or the current locale
by means of LocaleSupportLocale.forLanguageTag(String)Copyright © 2017. All rights reserved.