org.thymeleaf.expression
Class ExpressionEvaluatorObjects

Object
  extended by org.thymeleaf.expression.ExpressionEvaluatorObjects

public final class ExpressionEvaluatorObjects
extends Object

Utility class containing methods for creating utility objects that will be included into expression evaluation contexts.

Since:
1.1
Author:
Daniel Fernández

Field Summary
static Aggregates AGGREGATES
           
static String AGGREGATES_EVALUATION_VARIABLE_NAME
           
static String APPLICATION_EVALUATION_VARIABLE_NAME
           
static Arrays ARRAYS
           
static String ARRAYS_EVALUATION_VARIABLE_NAME
           
static Bools BOOLS
           
static String BOOLS_EVALUATION_VARIABLE_NAME
           
static Calendars CALENDARS
           
static String CALENDARS_EVALUATION_VARIABLE_NAME
           
static String CONTEXT_VARIABLE_NAME
           
static Dates DATES
           
static String DATES_EVALUATION_VARIABLE_NAME
           
static String HTTP_SERVLET_REQUEST_VARIABLE_NAME
           
static String HTTP_SESSION_VARIABLE_NAME
           
static String IDS_EVALUATION_VARIABLE_NAME
           
static Lists LISTS
           
static String LISTS_EVALUATION_VARIABLE_NAME
           
static String LOCALE_EVALUATION_VARIABLE_NAME
           
static Maps MAPS
           
static String MAPS_EVALUATION_VARIABLE_NAME
           
static String MESSAGES_EVALUATION_VARIABLE_NAME
           
static Numbers NUMBERS
           
static String NUMBERS_EVALUATION_VARIABLE_NAME
           
static Objects OBJECTS
           
static String OBJECTS_EVALUATION_VARIABLE_NAME
           
static String PARAM_EVALUATION_VARIABLE_NAME
           
static String ROOT_VARIABLE_NAME
           
static String SELECTION_VARIABLE_NAME
           
static String SESSION_EVALUATION_VARIABLE_NAME
           
static Sets SETS
           
static String SETS_EVALUATION_VARIABLE_NAME
           
static Strings STRINGS
           
static String STRINGS_EVALUATION_VARIABLE_NAME
           
 
Method Summary
static Map<String,Object> computeEvaluationVariablesForArguments(Arguments arguments)
           
static Map<String,Object> computeEvaluationVariablesForTemplateResolution(Arguments arguments, TemplateResolution templateResolution)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_VARIABLE_NAME

public static final String CONTEXT_VARIABLE_NAME
See Also:
Constant Field Values

ROOT_VARIABLE_NAME

public static final String ROOT_VARIABLE_NAME
See Also:
Constant Field Values

SELECTION_VARIABLE_NAME

public static final String SELECTION_VARIABLE_NAME
See Also:
Constant Field Values

LOCALE_EVALUATION_VARIABLE_NAME

public static final String LOCALE_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

HTTP_SERVLET_REQUEST_VARIABLE_NAME

public static final String HTTP_SERVLET_REQUEST_VARIABLE_NAME
Since:
1.1.2
See Also:
Constant Field Values

HTTP_SESSION_VARIABLE_NAME

public static final String HTTP_SESSION_VARIABLE_NAME
Since:
1.1.2
See Also:
Constant Field Values

PARAM_EVALUATION_VARIABLE_NAME

public static final String PARAM_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

SESSION_EVALUATION_VARIABLE_NAME

public static final String SESSION_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

APPLICATION_EVALUATION_VARIABLE_NAME

public static final String APPLICATION_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

CALENDARS_EVALUATION_VARIABLE_NAME

public static final String CALENDARS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

DATES_EVALUATION_VARIABLE_NAME

public static final String DATES_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

BOOLS_EVALUATION_VARIABLE_NAME

public static final String BOOLS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

NUMBERS_EVALUATION_VARIABLE_NAME

public static final String NUMBERS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

OBJECTS_EVALUATION_VARIABLE_NAME

public static final String OBJECTS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

STRINGS_EVALUATION_VARIABLE_NAME

public static final String STRINGS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

ARRAYS_EVALUATION_VARIABLE_NAME

public static final String ARRAYS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

LISTS_EVALUATION_VARIABLE_NAME

public static final String LISTS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

SETS_EVALUATION_VARIABLE_NAME

public static final String SETS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

MAPS_EVALUATION_VARIABLE_NAME

public static final String MAPS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

AGGREGATES_EVALUATION_VARIABLE_NAME

public static final String AGGREGATES_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

MESSAGES_EVALUATION_VARIABLE_NAME

public static final String MESSAGES_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

IDS_EVALUATION_VARIABLE_NAME

public static final String IDS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

CALENDARS

public static final Calendars CALENDARS

DATES

public static final Dates DATES

BOOLS

public static final Bools BOOLS

NUMBERS

public static final Numbers NUMBERS

OBJECTS

public static final Objects OBJECTS

STRINGS

public static final Strings STRINGS

ARRAYS

public static final Arrays ARRAYS

LISTS

public static final Lists LISTS

SETS

public static final Sets SETS

MAPS

public static final Maps MAPS

AGGREGATES

public static final Aggregates AGGREGATES
Method Detail

computeEvaluationVariablesForArguments

public static Map<String,Object> computeEvaluationVariablesForArguments(Arguments arguments)

computeEvaluationVariablesForTemplateResolution

public static Map<String,Object> computeEvaluationVariablesForTemplateResolution(Arguments arguments,
                                                                                 TemplateResolution templateResolution)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.