public class ThisResolver extends AbstractResolver
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME_THIS |
static int |
THIS_RESOLVER_PRIORITY |
BUILTIN_RESOLVERS_DEFAULT_PRIORITY, BUILTIN_TEMPLATE_LOCATORS_DEFAULT_PRIORITY, EXTENSION_RESOLVERS_DEFAULT_PRIORITY| Constructor and Description |
|---|
ThisResolver() |
ThisResolver(int priority) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
resolve(java.lang.Object contextObject,
java.lang.String name,
ResolutionContext context)
Resolve the value from specified context object and name.
|
getConfigurationKeys, getPriority, init, toStringpublic static final int THIS_RESOLVER_PRIORITY
public static final java.lang.String NAME_THIS
public ThisResolver()
public ThisResolver(int priority)
public java.lang.Object resolve(java.lang.Object contextObject,
java.lang.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 contextnullCopyright © 2013. All Rights Reserved.