org.op4j.ognl.functions
Class FnOgnl<T,R>

Object
  extended by org.op4j.functions.Function<T,R>
      extended by org.op4j.ognl.functions.FnOgnl<T,R>
All Implemented Interfaces:
org.op4j.functions.IFunction<T,R>

public final class FnOgnl<T,R>
extends org.op4j.functions.Function<T,R>

Function hub class for functions that evaluate OGNL expressions and return their results.

Since:
1.0
Author:
Daniel Fernández

Field Summary
static String INDEX_VARIABLE_NAME
           
static String PARAM_VARIABLE_NAME
           
static String TARGET_VARIABLE_NAME
           
 
Method Summary
static
<R> org.op4j.functions.Function<Object,R[]>
arrayOf(org.javaruntype.type.Type<R> resultType, String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForArrayOf(Type, String, Object...).
static org.op4j.functions.Function<Object,String[]> arrayOfString(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForArrayOfString(String, Object...).
static org.op4j.functions.Function<Object,Byte> b(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForByte(String, Object...).
static org.op4j.functions.Function<Object,BigDecimal> bigDecimal(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForBigDecimal(String, Object...).
static org.op4j.functions.Function<Object,BigInteger> bigInteger(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForBigInteger(String, Object...).
static org.op4j.functions.Function<Object,Boolean> bool(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForBoolean(String, Object...).
static org.op4j.functions.Function<Object,Character> c(String ognlExpression, Object... optionalParameters)
           Abbreviation for {#evalCharacter(String, Object...).
static org.op4j.functions.Function<Object,Calendar> calendar(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForCalendar(String, Object...).
static org.op4j.functions.Function<Object,Double> d(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForDouble(String, Object...).
static org.op4j.functions.Function<Object,Date> date(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForDate(String, Object...).
static
<R> org.op4j.functions.Function<Object,R>
evalFor(org.javaruntype.type.Type<R> resultType, String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns an object of type R.
static
<R> org.op4j.functions.Function<Object,R[]>
evalForArrayOf(org.javaruntype.type.Type<R> resultType, String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns R[].
static org.op4j.functions.Function<Object,String[]> evalForArrayOfString(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns String[].
static org.op4j.functions.Function<Object,BigDecimal> evalForBigDecimal(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns BigDecimal.
static org.op4j.functions.Function<Object,BigInteger> evalForBigInteger(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns BigInteger.
static org.op4j.functions.Function<Object,Boolean> evalForBoolean(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Boolean.
static org.op4j.functions.Function<Object,Byte> evalForByte(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Byte.
static org.op4j.functions.Function<Object,Calendar> evalForCalendar(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Calendar.
static org.op4j.functions.Function<Object,Character> evalForCharacter(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Character.
static org.op4j.functions.Function<Object,Date> evalForDate(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Date.
static org.op4j.functions.Function<Object,Double> evalForDouble(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Double.
static org.op4j.functions.Function<Object,Float> evalForFloat(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Float.
static org.op4j.functions.Function<Object,Integer> evalForInteger(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Integer.
static
<R> org.op4j.functions.Function<Object,List<R>>
evalForListOf(org.javaruntype.type.Type<R> resultType, String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns List<R>.
static org.op4j.functions.Function<Object,List<String>> evalForListOfString(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns List<String>.
static org.op4j.functions.Function<Object,Long> evalForLong(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Long.
static org.op4j.functions.Function<Object,Object> evalForObject(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Object.
static
<R> org.op4j.functions.Function<Object,Set<R>>
evalForSetOf(org.javaruntype.type.Type<R> resultType, String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Set<R>.
static org.op4j.functions.Function<Object,Set<String>> evalForSetOfString(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Set<String>.
static org.op4j.functions.Function<Object,Short> evalForShort(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns Short.
static org.op4j.functions.Function<Object,String> evalForString(String ognlExpression, Object... optionalParameters)
           Evaluates an OGNL expression which returns String.
 R execute(T input, org.op4j.functions.ExecCtx ctx)
           
static org.op4j.functions.Function<Object,Float> f(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForFloat(String, Object...).
static org.op4j.functions.Function<Object,Integer> i(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForInteger(String, Object...).
static org.op4j.functions.Function<Object,Long> l(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForLong(String, Object...).
static
<R> org.op4j.functions.Function<Object,List<R>>
listOf(org.javaruntype.type.Type<R> resultType, String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForListOf(Type, String, Object...).
static org.op4j.functions.Function<Object,List<String>> listOfString(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForListOfString(String, Object...).
static org.op4j.functions.Function<Object,Object> obj(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForObject(String, Object...).
static
<R> org.op4j.functions.Function<Object,R>
obj(org.javaruntype.type.Type<R> resultType, String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalFor(Type, String, Object...).
static org.op4j.functions.Function<Object,String> s(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForString(String, Object...).
static
<R> org.op4j.functions.Function<Object,Set<R>>
setOf(org.javaruntype.type.Type<R> resultType, String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForSetOf(Type, String, Object...).
static org.op4j.functions.Function<Object,Set<String>> setOfString(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForSetOfString(String, Object...).
static org.op4j.functions.Function<Object,Short> shr(String ognlExpression, Object... optionalParameters)
           Abbreviation for {evalForShort(String, Object...).
 
Methods inherited from class org.op4j.functions.Function
execute
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TARGET_VARIABLE_NAME

public static final String TARGET_VARIABLE_NAME
See Also:
Constant Field Values

PARAM_VARIABLE_NAME

public static final String PARAM_VARIABLE_NAME
See Also:
Constant Field Values

INDEX_VARIABLE_NAME

public static final String INDEX_VARIABLE_NAME
See Also:
Constant Field Values
Method Detail

evalForObject

public static org.op4j.functions.Function<Object,Object> evalForObject(String ognlExpression,
                                                                       Object... optionalParameters)

Evaluates an OGNL expression which returns Object. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

obj

public static org.op4j.functions.Function<Object,Object> obj(String ognlExpression,
                                                             Object... optionalParameters)

Abbreviation for {evalForObject(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalFor

public static <R> org.op4j.functions.Function<Object,R> evalFor(org.javaruntype.type.Type<R> resultType,
                                                                String ognlExpression,
                                                                Object... optionalParameters)

Evaluates an OGNL expression which returns an object of type R. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
resultType - the type of the object returned by the expression
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

obj

public static <R> org.op4j.functions.Function<Object,R> obj(org.javaruntype.type.Type<R> resultType,
                                                            String ognlExpression,
                                                            Object... optionalParameters)

Abbreviation for {evalFor(Type, String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForBigInteger

public static org.op4j.functions.Function<Object,BigInteger> evalForBigInteger(String ognlExpression,
                                                                               Object... optionalParameters)

Evaluates an OGNL expression which returns BigInteger. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

bigInteger

public static org.op4j.functions.Function<Object,BigInteger> bigInteger(String ognlExpression,
                                                                        Object... optionalParameters)

Abbreviation for {evalForBigInteger(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForBigDecimal

public static org.op4j.functions.Function<Object,BigDecimal> evalForBigDecimal(String ognlExpression,
                                                                               Object... optionalParameters)

Evaluates an OGNL expression which returns BigDecimal. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

bigDecimal

public static org.op4j.functions.Function<Object,BigDecimal> bigDecimal(String ognlExpression,
                                                                        Object... optionalParameters)

Abbreviation for {evalForBigDecimal(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForBoolean

public static org.op4j.functions.Function<Object,Boolean> evalForBoolean(String ognlExpression,
                                                                         Object... optionalParameters)

Evaluates an OGNL expression which returns Boolean. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

bool

public static org.op4j.functions.Function<Object,Boolean> bool(String ognlExpression,
                                                               Object... optionalParameters)

Abbreviation for {evalForBoolean(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForByte

public static org.op4j.functions.Function<Object,Byte> evalForByte(String ognlExpression,
                                                                   Object... optionalParameters)

Evaluates an OGNL expression which returns Byte. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

b

public static org.op4j.functions.Function<Object,Byte> b(String ognlExpression,
                                                         Object... optionalParameters)

Abbreviation for {evalForByte(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForCharacter

public static org.op4j.functions.Function<Object,Character> evalForCharacter(String ognlExpression,
                                                                             Object... optionalParameters)

Evaluates an OGNL expression which returns Character. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

c

public static org.op4j.functions.Function<Object,Character> c(String ognlExpression,
                                                              Object... optionalParameters)

Abbreviation for {#evalCharacter(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForCalendar

public static org.op4j.functions.Function<Object,Calendar> evalForCalendar(String ognlExpression,
                                                                           Object... optionalParameters)

Evaluates an OGNL expression which returns Calendar. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

calendar

public static org.op4j.functions.Function<Object,Calendar> calendar(String ognlExpression,
                                                                    Object... optionalParameters)

Abbreviation for {evalForCalendar(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForDate

public static org.op4j.functions.Function<Object,Date> evalForDate(String ognlExpression,
                                                                   Object... optionalParameters)

Evaluates an OGNL expression which returns Date. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

date

public static org.op4j.functions.Function<Object,Date> date(String ognlExpression,
                                                            Object... optionalParameters)

Abbreviation for {evalForDate(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForDouble

public static org.op4j.functions.Function<Object,Double> evalForDouble(String ognlExpression,
                                                                       Object... optionalParameters)

Evaluates an OGNL expression which returns Double. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

d

public static org.op4j.functions.Function<Object,Double> d(String ognlExpression,
                                                           Object... optionalParameters)

Abbreviation for {evalForDouble(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForFloat

public static org.op4j.functions.Function<Object,Float> evalForFloat(String ognlExpression,
                                                                     Object... optionalParameters)

Evaluates an OGNL expression which returns Float. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

f

public static org.op4j.functions.Function<Object,Float> f(String ognlExpression,
                                                          Object... optionalParameters)

Abbreviation for {evalForFloat(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForInteger

public static org.op4j.functions.Function<Object,Integer> evalForInteger(String ognlExpression,
                                                                         Object... optionalParameters)

Evaluates an OGNL expression which returns Integer. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

i

public static org.op4j.functions.Function<Object,Integer> i(String ognlExpression,
                                                            Object... optionalParameters)

Abbreviation for {evalForInteger(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForLong

public static org.op4j.functions.Function<Object,Long> evalForLong(String ognlExpression,
                                                                   Object... optionalParameters)

Evaluates an OGNL expression which returns Long. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

l

public static org.op4j.functions.Function<Object,Long> l(String ognlExpression,
                                                         Object... optionalParameters)

Abbreviation for {evalForLong(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForShort

public static org.op4j.functions.Function<Object,Short> evalForShort(String ognlExpression,
                                                                     Object... optionalParameters)

Evaluates an OGNL expression which returns Short. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

shr

public static org.op4j.functions.Function<Object,Short> shr(String ognlExpression,
                                                            Object... optionalParameters)

Abbreviation for {evalForShort(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForString

public static org.op4j.functions.Function<Object,String> evalForString(String ognlExpression,
                                                                       Object... optionalParameters)

Evaluates an OGNL expression which returns String. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

s

public static org.op4j.functions.Function<Object,String> s(String ognlExpression,
                                                           Object... optionalParameters)

Abbreviation for {evalForString(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForListOfString

public static org.op4j.functions.Function<Object,List<String>> evalForListOfString(String ognlExpression,
                                                                                   Object... optionalParameters)

Evaluates an OGNL expression which returns List<String>. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

listOfString

public static org.op4j.functions.Function<Object,List<String>> listOfString(String ognlExpression,
                                                                            Object... optionalParameters)

Abbreviation for {evalForListOfString(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForSetOfString

public static org.op4j.functions.Function<Object,Set<String>> evalForSetOfString(String ognlExpression,
                                                                                 Object... optionalParameters)

Evaluates an OGNL expression which returns Set<String>. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

setOfString

public static org.op4j.functions.Function<Object,Set<String>> setOfString(String ognlExpression,
                                                                          Object... optionalParameters)

Abbreviation for {evalForSetOfString(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForArrayOfString

public static org.op4j.functions.Function<Object,String[]> evalForArrayOfString(String ognlExpression,
                                                                                Object... optionalParameters)

Evaluates an OGNL expression which returns String[]. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

arrayOfString

public static org.op4j.functions.Function<Object,String[]> arrayOfString(String ognlExpression,
                                                                         Object... optionalParameters)

Abbreviation for {evalForArrayOfString(String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForListOf

public static <R> org.op4j.functions.Function<Object,List<R>> evalForListOf(org.javaruntype.type.Type<R> resultType,
                                                                            String ognlExpression,
                                                                            Object... optionalParameters)

Evaluates an OGNL expression which returns List<R>. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
resultType - the type of the resulting list components
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

listOf

public static <R> org.op4j.functions.Function<Object,List<R>> listOf(org.javaruntype.type.Type<R> resultType,
                                                                     String ognlExpression,
                                                                     Object... optionalParameters)

Abbreviation for {evalForListOf(Type, String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForSetOf

public static <R> org.op4j.functions.Function<Object,Set<R>> evalForSetOf(org.javaruntype.type.Type<R> resultType,
                                                                          String ognlExpression,
                                                                          Object... optionalParameters)

Evaluates an OGNL expression which returns Set<R>. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
resultType - the type of the resulting set components
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

setOf

public static <R> org.op4j.functions.Function<Object,Set<R>> setOf(org.javaruntype.type.Type<R> resultType,
                                                                   String ognlExpression,
                                                                   Object... optionalParameters)

Abbreviation for {evalForSetOf(Type, String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

evalForArrayOf

public static <R> org.op4j.functions.Function<Object,R[]> evalForArrayOf(org.javaruntype.type.Type<R> resultType,
                                                                         String ognlExpression,
                                                                         Object... optionalParameters)

Evaluates an OGNL expression which returns R[]. This expression can have parameters (specified as the varargs optionalParameters method parameter).

The following predefined variables can be used inside the expression:

Parameters:
resultType - the type of the resulting array components
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression

arrayOf

public static <R> org.op4j.functions.Function<Object,R[]> arrayOf(org.javaruntype.type.Type<R> resultType,
                                                                  String ognlExpression,
                                                                  Object... optionalParameters)

Abbreviation for {evalForArrayOf(Type, String, Object...).

Parameters:
ognlExpression - the OGNL expression
optionalParameters - the optional parameters
Returns:
the result of evaluating the expression
Since:
1.1

execute

public R execute(T input,
                 org.op4j.functions.ExecCtx ctx)
          throws Exception
Throws:
Exception


Copyright © 2012 The OP4J team. All Rights Reserved.