org.apache.commons.jexl3.introspection
Interface JexlUberspect.ResolverStrategy

Enclosing interface:
JexlUberspect

public static interface JexlUberspect.ResolverStrategy

Determines property resolution strategy.

To use a strategy instance, you have to set it at engine creation using JexlBuilder.strategy(JexlUberspect.ResolverStrategy) as in:

JexlEngine jexl = new JexlBuilder().strategy(MY_STRATEGY).create();

Since:
3.0

Method Summary
 List<JexlUberspect.PropertyResolver> apply(JexlOperator operator, Object obj)
          Applies this strategy to a list of resolver types.
 

Method Detail

apply

List<JexlUberspect.PropertyResolver> apply(JexlOperator operator,
                                           Object obj)
Applies this strategy to a list of resolver types.

Parameters:
operator - the property access operator, may be null
obj - the instance we seek to obtain a property setter/getter from, can not be null
Returns:
the ordered list of resolvers types, must not be null


Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.