public class ArrayIndexResolver extends IndexResolver
myArray:
{{myArray.0}}
This resolver is not registered by default anymore.CombinedIndexResolverEnhancedResolver.Hint| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY_RESOLVER_PRIORITY |
configurationDEFAULT_PRIORITY| Constructor and Description |
|---|
ArrayIndexResolver() |
ArrayIndexResolver(int priority) |
| Modifier and Type | Method and Description |
|---|---|
Object |
resolve(Object contextObject,
String name,
ResolutionContext context)
Resolve the value from specified context object and name.
|
getIndexValue, getIndexValue, isAnIndex, notAnIndexcreateHint, getPriority, toStringcheckNotInitialized, init, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConfigurationKeys, initpublic ArrayIndexResolver()
public ArrayIndexResolver(int 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 contextnullPlaceholder.NULLCopyright © 2017. All rights reserved.