public class DateTimeFormatResolver extends TransformResolver
| Modifier and Type | Field and Description |
|---|---|
static ConfigurationKey |
CUSTOM_PATTERN_KEY |
static int |
DATE_TIME_FORMAT_RESOLVER_PRIORITY |
configurationBUILTIN_RESOLVERS_DEFAULT_PRIORITY, BUILTIN_TEMPLATE_LOCATORS_DEFAULT_PRIORITY, EXTENSION_RESOLVERS_DEFAULT_PRIORITY| Constructor and Description |
|---|
DateTimeFormatResolver() |
DateTimeFormatResolver(int priority) |
| Modifier and Type | Method and Description |
|---|---|
Set<ConfigurationKey> |
getConfigurationKeys() |
void |
init()
Can be overridden so that there's no need to call
super.init(Configuration). |
Object |
transform(Object contextObject,
String name,
ResolutionContext context) |
matches, matches, matchingName, performTransformation, resolve, setMatchingNamesgetCurrentLocalegetPriority, toStringcheckNotInitialized, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitpublic static final int DATE_TIME_FORMAT_RESOLVER_PRIORITY
public static final ConfigurationKey CUSTOM_PATTERN_KEY
public DateTimeFormatResolver()
public DateTimeFormatResolver(int priority)
priority - public Object transform(Object contextObject, String name, ResolutionContext context)
transform in interface Transformertransform in class TransformResolverpublic void init()
AbstractConfigurationAwaresuper.init(Configuration).init in class LocaleAwareResolverpublic Set<ConfigurationKey> getConfigurationKeys()
getConfigurationKeys in interface ConfigurationAwaregetConfigurationKeys in class AbstractConfigurationAwareCopyright © 2015. All Rights Reserved.