public class NumberFormatResolver extends TransformResolver
EnhancedResolver.Hint
Modifier and Type | Field and Description |
---|---|
static int |
NUMBER_FORMAT_RESOLVER_PRIORITY |
configuration
DEFAULT_PRIORITY
Constructor and Description |
---|
NumberFormatResolver() |
NumberFormatResolver(int priority) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
matches(Object contextObject,
String name) |
Object |
transform(Object contextObject,
String name,
ResolutionContext context) |
matches, matchingName, performTransformation, resolve, setMatchingNames
getCurrentLocale, init
createHint, getPriority, toString
checkNotInitialized, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConfigurationKeys, init
public static final int NUMBER_FORMAT_RESOLVER_PRIORITY
public NumberFormatResolver()
public NumberFormatResolver(int priority)
priority
- protected boolean matches(Object contextObject, String name)
matches
in class TransformResolver
true
in case of the resolver matches given context
object and name, false
otherwisepublic Object transform(Object contextObject, String name, ResolutionContext context)
transform
in interface Transformer
transform
in class TransformResolver
Copyright © 2017. All rights reserved.