All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.thymeleaf.context.IExpressionContext Maven / Gradle / Ivy

Go to download

Modern server-side Java template engine for both web and standalone environments

There is a newer version: 3.0.12.2
Show newest version
/*
 * =============================================================================
 *
 *   Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.org)
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 *
 * =============================================================================
 */
package org.thymeleaf.context;

import org.thymeleaf.IEngineConfiguration;
import org.thymeleaf.expression.IExpressionObjects;

/**
 * 

* Interface implemented by all classes containing the context required for expression processing. *

*

* This interface extends {@link IContext} by adding the required information needed to execute * expressions. *

*

* Note that implementations of this interface do not have to be thread-safe, and in fact should not be * shared by different threads or template executions. They are meant to be local to a specific template * engine execution. *

* * @author Daniel Fernández * * @since 3.0.0 * */ public interface IExpressionContext extends IContext { /** *

* Returns the {@link IEngineConfiguration} (engine configuration) corresponding to the * {@link org.thymeleaf.ITemplateEngine} instance this expression context is meant to be used with. *

* * @return the engine configuration. */ public IEngineConfiguration getConfiguration(); /** *

* Returns the {@link IExpressionObjects} instance to be used for retrieving (and maybe building * lazily) expression objects ({@code ${#expobj}}) to be used at Standard Thymeleaf Expressions. *

* @return the expression objects instance. */ public IExpressionObjects getExpressionObjects(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy