Modifier and Type | Class and Description |
---|---|
class |
EngineConfiguration
Default implementation of the
IEngineConfiguration interface. |
Modifier and Type | Method and Description |
---|---|
IEngineConfiguration |
TemplateEngine.getConfiguration() |
IEngineConfiguration |
ITemplateEngine.getConfiguration()
Obtain the
IEngineConfiguration the template engine is using (or will be using)
for processing templates. |
Modifier and Type | Method and Description |
---|---|
IEngineConfiguration |
IExpressionContext.getConfiguration()
Returns the
IEngineConfiguration (engine configuration) corresponding to the
ITemplateEngine instance this expression context is meant to be used with. |
IEngineConfiguration |
AbstractExpressionContext.getConfiguration() |
IEngineConfiguration |
AbstractEngineContext.getConfiguration() |
Modifier and Type | Method and Description |
---|---|
IEngineContext |
IEngineContextFactory.createEngineContext(IEngineConfiguration configuration,
TemplateData templateData,
Map<String,Object> templateResolutionAttributes,
IContext context)
Creates a new
IEngineContext to be used for processing a specific template. |
IEngineContext |
StandardEngineContextFactory.createEngineContext(IEngineConfiguration configuration,
TemplateData templateData,
Map<String,Object> templateResolutionAttributes,
IContext context) |
Constructor and Description |
---|
AbstractEngineContext(IEngineConfiguration configuration,
Map<String,Object> templateResolutionAttributes,
Locale locale) |
AbstractExpressionContext(IEngineConfiguration configuration) |
AbstractExpressionContext(IEngineConfiguration configuration,
Locale locale) |
AbstractExpressionContext(IEngineConfiguration configuration,
Locale locale,
Map<String,Object> variables) |
EngineContext(IEngineConfiguration configuration,
TemplateData templateData,
Map<String,Object> templateResolutionAttributes,
Locale locale,
Map<String,Object> variables)
Creates a new instance of this
IEngineContext implementation. |
ExpressionContext(IEngineConfiguration configuration) |
ExpressionContext(IEngineConfiguration configuration,
Locale locale) |
ExpressionContext(IEngineConfiguration configuration,
Locale locale,
Map<String,Object> variables) |
WebEngineContext(IEngineConfiguration configuration,
TemplateData templateData,
Map<String,Object> templateResolutionAttributes,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
Locale locale,
Map<String,Object> variables)
Creates a new instance of this
IEngineContext implementation binding engine execution to
the Servlet API. |
WebExpressionContext(IEngineConfiguration configuration,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext) |
WebExpressionContext(IEngineConfiguration configuration,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
Locale locale) |
WebExpressionContext(IEngineConfiguration configuration,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
Locale locale,
Map<String,Object> variables) |
Modifier and Type | Method and Description |
---|---|
IEngineConfiguration |
TemplateModel.getConfiguration() |
Constructor and Description |
---|
ModelBuilderTemplateHandler(IEngineConfiguration configuration,
TemplateData templateData) |
StandardModelFactory(IEngineConfiguration configuration,
TemplateMode templateMode) |
TemplateManager(IEngineConfiguration configuration)
This constructor should only be called directly for testing purposes.
|
Modifier and Type | Method and Description |
---|---|
IEngineConfiguration |
IModel.getConfiguration()
Returns the engine configuration that was used for creating this model.
|
Modifier and Type | Method and Description |
---|---|
static IStandardConversionService |
StandardExpressions.getConversionService(IEngineConfiguration configuration)
Obtain the conversion service (implementation of
IStandardConversionService ) registered by
the Standard Dialect that is being currently used. |
static IStandardExpressionParser |
StandardExpressions.getExpressionParser(IEngineConfiguration configuration)
Obtain the expression parser (implementation of
IStandardExpressionParser ) registered by
the Standard Dialect that is being currently used. |
static IStandardVariableExpressionEvaluator |
StandardExpressions.getVariableExpressionEvaluator(IEngineConfiguration configuration)
Obtain the variable expression evaluator (implementation of
IStandardVariableExpressionEvaluator )
registered by the Standard Dialect that is being currently used. |
FragmentSignature |
StandardExpressionParser.parseFragmentSignature(IEngineConfiguration configuration,
String input) |
static FragmentSignature |
FragmentSignatureUtils.parseFragmentSignature(IEngineConfiguration configuration,
String input) |
Constructor and Description |
---|
AbstractStandardInliner(IEngineConfiguration configuration,
TemplateMode templateMode) |
OutputExpressionInlinePreProcessorHandler(IEngineConfiguration configuration,
TemplateMode templateMode,
String standardDialectPrefix,
IInlinePreProcessorHandler handler) |
StandardCSSInliner(IEngineConfiguration configuration) |
StandardHTMLInliner(IEngineConfiguration configuration) |
StandardJavaScriptInliner(IEngineConfiguration configuration) |
StandardTextInliner(IEngineConfiguration configuration) |
StandardXMLInliner(IEngineConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
static IStandardCSSSerializer |
StandardSerializers.getCSSSerializer(IEngineConfiguration configuration)
Obtain the CSS serializer (implementation of
IStandardCSSSerializer ) registered by
the Standard Dialect that is being currently used. |
static IStandardJavaScriptSerializer |
StandardSerializers.getJavaScriptSerializer(IEngineConfiguration configuration)
Obtain the JavaScript serializer (implementation of
IStandardJavaScriptSerializer ) registered by
the Standard Dialect that is being currently used. |
Modifier and Type | Method and Description |
---|---|
void |
ITemplateParser.parseStandalone(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Set<String> templateSelectors,
ITemplateResource resource,
TemplateMode templateMode,
boolean useDecoupledLogic,
ITemplateHandler handler) |
void |
ITemplateParser.parseString(IEngineConfiguration configuration,
String ownerTemplate,
String template,
int lineOffset,
int colOffset,
TemplateMode templateMode,
ITemplateHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMarkupTemplateParser.parseStandalone(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Set<String> templateSelectors,
ITemplateResource resource,
TemplateMode templateMode,
boolean useDecoupledLogic,
ITemplateHandler handler) |
void |
AbstractMarkupTemplateParser.parseString(IEngineConfiguration configuration,
String ownerTemplate,
String template,
int lineOffset,
int colOffset,
TemplateMode templateMode,
ITemplateHandler handler) |
Modifier and Type | Method and Description |
---|---|
static DecoupledTemplateLogic |
DecoupledTemplateLogicUtils.computeDecoupledTemplateLogic(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Set<String> templateSelectors,
ITemplateResource resource,
TemplateMode templateMode,
org.attoparser.IMarkupParser parser) |
ITemplateResource |
StandardDecoupledTemplateLogicResolver.resolveDecoupledTemplateLogic(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Set<String> templateSelectors,
ITemplateResource resource,
TemplateMode templateMode) |
ITemplateResource |
IDecoupledTemplateLogicResolver.resolveDecoupledTemplateLogic(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Set<String> templateSelectors,
ITemplateResource resource,
TemplateMode templateMode)
Resolve an
ITemplateResource object containing the decoupled template logic to be applied to the
template being processed. |
Modifier and Type | Method and Description |
---|---|
void |
RawTemplateParser.parseStandalone(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Set<String> templateSelectors,
ITemplateResource resource,
TemplateMode templateMode,
boolean useDecoupledLogic,
ITemplateHandler handler) |
void |
RawTemplateParser.parseString(IEngineConfiguration configuration,
String ownerTemplate,
String template,
int lineOffset,
int colOffset,
TemplateMode templateMode,
ITemplateHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTextTemplateParser.parseStandalone(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Set<String> templateSelectors,
ITemplateResource resource,
TemplateMode templateMode,
boolean useDecoupledLogic,
ITemplateHandler handler) |
void |
AbstractTextTemplateParser.parseString(IEngineConfiguration configuration,
String ownerTemplate,
String template,
int lineOffset,
int colOffset,
TemplateMode templateMode,
ITemplateHandler handler) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractTemplateResolver.computeResolvable(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes)
Computes whether a template can be resolved by this resolver or not,
applying the corresponding patterns.
|
protected String |
AbstractConfigurableTemplateResolver.computeResourceName(IEngineConfiguration configuration,
String ownerTemplate,
String template,
String prefix,
String suffix,
Map<String,String> templateAliases,
Map<String,Object> templateResolutionAttributes)
Computes the resource name that will be used for resolving, from the template name and other
parameters configured at this configurable resolver.
|
protected TemplateMode |
DefaultTemplateResolver.computeTemplateMode(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected TemplateMode |
AbstractConfigurableTemplateResolver.computeTemplateMode(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected abstract TemplateMode |
AbstractTemplateResolver.computeTemplateMode(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes)
Computes the template mode that should be applied to a template, according
to existing configuration.
|
protected TemplateMode |
StringTemplateResolver.computeTemplateMode(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected ITemplateResource |
DefaultTemplateResolver.computeTemplateResource(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected ITemplateResource |
AbstractConfigurableTemplateResolver.computeTemplateResource(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected abstract ITemplateResource |
AbstractTemplateResolver.computeTemplateResource(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes)
Computes the resolved template resource.
|
protected ITemplateResource |
StringTemplateResolver.computeTemplateResource(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected ITemplateResource |
UrlTemplateResolver.computeTemplateResource(IEngineConfiguration configuration,
String ownerTemplate,
String template,
String resourceName,
String characterEncoding,
Map<String,Object> templateResolutionAttributes) |
protected ITemplateResource |
ServletContextTemplateResolver.computeTemplateResource(IEngineConfiguration configuration,
String ownerTemplate,
String template,
String resourceName,
String characterEncoding,
Map<String,Object> templateResolutionAttributes) |
protected ITemplateResource |
FileTemplateResolver.computeTemplateResource(IEngineConfiguration configuration,
String ownerTemplate,
String template,
String resourceName,
String characterEncoding,
Map<String,Object> templateResolutionAttributes) |
protected abstract ITemplateResource |
AbstractConfigurableTemplateResolver.computeTemplateResource(IEngineConfiguration configuration,
String ownerTemplate,
String template,
String resourceName,
String characterEncoding,
Map<String,Object> templateResolutionAttributes)
Compute the real resource, once the resource name has been computed using prefix, suffix, and other
configured artifacts.
|
protected ITemplateResource |
ClassLoaderTemplateResolver.computeTemplateResource(IEngineConfiguration configuration,
String ownerTemplate,
String template,
String resourceName,
String characterEncoding,
Map<String,Object> templateResolutionAttributes) |
protected ICacheEntryValidity |
DefaultTemplateResolver.computeValidity(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected ICacheEntryValidity |
UrlTemplateResolver.computeValidity(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected ICacheEntryValidity |
AbstractConfigurableTemplateResolver.computeValidity(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected abstract ICacheEntryValidity |
AbstractTemplateResolver.computeValidity(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes)
Computes the validity to be applied to the template resolution.
|
protected ICacheEntryValidity |
StringTemplateResolver.computeValidity(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
TemplateResolution |
AbstractTemplateResolver.resolveTemplate(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
TemplateResolution |
ITemplateResolver.resolveTemplate(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes)
Tries to resolve a template.
|
Constructor and Description |
---|
LazyEscapingCharSequence(IEngineConfiguration configuration,
TemplateMode templateMode,
Object input) |
Copyright © 2016 The THYMELEAF team. All rights reserved.