public class DateTimeFormatResolver extends TransformResolver
EnhancedResolver.Hint
Modifier and Type | Field and Description |
---|---|
static ConfigurationKey |
CUSTOM_PATTERN_KEY |
static int |
DATE_TIME_FORMAT_RESOLVER_PRIORITY |
configuration
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, setMatchingNames
getCurrentLocale
createHint, getPriority, toString
checkNotInitialized, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
init
public 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 Transformer
transform
in class TransformResolver
public void init()
AbstractConfigurationAware
super.init(Configuration)
.init
in class LocaleAwareResolver
public Set<ConfigurationKey> getConfigurationKeys()
Copyright © 2017. All rights reserved.