public class NumberFormatResolver extends LocaleAwareResolver
| Modifier and Type | Field and Description |
|---|---|
static int |
NUMBER_FORMAT_RESOLVER_PRIORITY |
localeSupportBUILTIN_RESOLVERS_DEFAULT_PRIORITY, BUILTIN_TEMPLATE_LOCATORS_DEFAULT_PRIORITY, EXTENSION_RESOLVERS_DEFAULT_PRIORITY| Constructor and Description |
|---|
NumberFormatResolver() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority() |
Object |
resolve(Object contextObject,
String name,
ResolutionContext context)
Resolve the value from specified context object and name.
|
getCurrentLocale, initgetConfigurationKeys, toStringpublic static final int NUMBER_FORMAT_RESOLVER_PRIORITY
public Object resolve(Object contextObject, String name, ResolutionContext context)
Resolvernull in case of the resolver is not capable
of resolving it.
ResolutionContext allows to register a callback to release
all the relevant resources after the resolved value is used.contextObject - The current context object (aka base object), may be nullname - The name (the key or its part) is never nullcontext - The current resolution contextnullpublic int getPriority()
Copyright © 2013. All Rights Reserved.