Modifier and Type | Method and Description |
---|---|
TemplateMode |
TemplateSpec.getTemplateMode()
Returns the template mode, if it has been specified.
|
Constructor and Description |
---|
TemplateSpec(String template,
Set<String> templateSelectors,
TemplateMode templateMode,
Map<String,Object> templateResolutionAttributes)
Build a new object of this class, specifying all its attributes.
|
TemplateSpec(String template,
TemplateMode templateMode)
Build a new object of this class, specifying template and also template mode.
|
Modifier and Type | Method and Description |
---|---|
TemplateMode |
TemplateCacheKey.getTemplateMode() |
Constructor and Description |
---|
TemplateCacheKey(String ownerTemplate,
String template,
Set<String> templateSelectors,
int lineOffset,
int colOffset,
TemplateMode templateMode,
Map<String,Object> templateResolutionAttributes) |
Modifier and Type | Method and Description |
---|---|
TemplateMode |
ITemplateContext.getTemplateMode()
Returns the template mode of the template currently being processed.
|
TemplateMode |
AbstractEngineContext.getTemplateMode() |
Modifier and Type | Method and Description |
---|---|
TemplateMode |
TemplateModel.getTemplateMode() |
TemplateMode |
TemplateData.getTemplateMode()
Returns the template mode the template is being processed with.
|
Modifier and Type | Method and Description |
---|---|
static ElementName |
ElementNames.forName(TemplateMode templateMode,
char[] elementNameBuffer,
int elementNameOffset,
int elementNameLen) |
static AttributeName |
AttributeNames.forName(TemplateMode templateMode,
char[] attributeNameBuffer,
int attributeNameOffset,
int attributeNameLen) |
ElementDefinition |
ElementDefinitions.forName(TemplateMode templateMode,
char[] elementName,
int elementNameOffset,
int elementNameLen) |
AttributeDefinition |
AttributeDefinitions.forName(TemplateMode templateMode,
char[] attributeName,
int attributeNameOffset,
int attributeNameLen) |
static ElementName |
ElementNames.forName(TemplateMode templateMode,
String elementName) |
static AttributeName |
AttributeNames.forName(TemplateMode templateMode,
String attributeName) |
ElementDefinition |
ElementDefinitions.forName(TemplateMode templateMode,
String elementName) |
AttributeDefinition |
AttributeDefinitions.forName(TemplateMode templateMode,
String attributeName) |
static ElementName |
ElementNames.forName(TemplateMode templateMode,
String prefix,
String elementName) |
static AttributeName |
AttributeNames.forName(TemplateMode templateMode,
String prefix,
String attributeName) |
ElementDefinition |
ElementDefinitions.forName(TemplateMode templateMode,
String prefix,
String elementName) |
AttributeDefinition |
AttributeDefinitions.forName(TemplateMode templateMode,
String prefix,
String attributeName) |
TemplateModel |
TemplateManager.parseStandalone(ITemplateContext context,
String template,
Set<String> templateSelectors,
TemplateMode templateMode,
boolean useCache,
boolean failIfNotExists) |
TemplateModel |
TemplateManager.parseString(TemplateData ownerTemplateData,
String template,
int lineOffset,
int colOffset,
TemplateMode templateMode,
boolean useCache) |
Constructor and Description |
---|
StandardModelFactory(IEngineConfiguration configuration,
TemplateMode templateMode) |
TemplateHandlerAdapterMarkupHandler(String templateName,
ITemplateHandler templateHandler,
ElementDefinitions elementDefinitions,
AttributeDefinitions attributeDefinitions,
TemplateMode templateMode,
int lineOffset,
int colOffset) |
TemplateHandlerAdapterTextHandler(String templateName,
ITemplateHandler templateHandler,
ElementDefinitions elementDefinitions,
AttributeDefinitions attributeDefinitions,
TemplateMode templateMode,
int lineOffset,
int colOffset) |
Constructor and Description |
---|
AttributeDefinitions(Map<TemplateMode,Set<IElementProcessor>> elementProcessorsByTemplateMode)
ONLY FOR INTERNAL USE.
|
ElementDefinitions(Map<TemplateMode,Set<IElementProcessor>> elementProcessorsByTemplateMode)
ONLY FOR INTERNAL USE.
|
Modifier and Type | Method and Description |
---|---|
TemplateMode |
ExecutionInfo.getProcessedTemplateMode()
Returns the template mode (
TemplateMode ) of the first-level template. |
TemplateMode |
ExecutionInfo.getTemplateMode()
Returns the template mode (
TemplateMode ) (of the leaf template). |
Modifier and Type | Method and Description |
---|---|
List<TemplateMode> |
ExecutionInfo.getTemplateModes()
Returns the
TemplateMode s of all the stack of templates appliable to the current point
of execution. |
Modifier and Type | Method and Description |
---|---|
TemplateMode |
IElementTag.getTemplateMode()
Returns the template mode to which this element tag is linked.
|
TemplateMode |
IModel.getTemplateMode()
Returns the template mode used for creating this model.
|
Modifier and Type | Method and Description |
---|---|
TemplateMode |
IPostProcessor.getTemplateMode()
Returns the template mode this post-processor should be executed for.
|
TemplateMode |
PostProcessor.getTemplateMode() |
Constructor and Description |
---|
PostProcessor(TemplateMode templateMode,
Class<? extends ITemplateHandler> handlerClass,
int precedence) |
Modifier and Type | Method and Description |
---|---|
TemplateMode |
IPreProcessor.getTemplateMode()
Returns the template mode this pre-processor should be executed for.
|
TemplateMode |
PreProcessor.getTemplateMode() |
Constructor and Description |
---|
PreProcessor(TemplateMode templateMode,
Class<? extends ITemplateHandler> handlerClass,
int precedence) |
Modifier and Type | Method and Description |
---|---|
TemplateMode |
AbstractProcessor.getTemplateMode() |
TemplateMode |
IProcessor.getTemplateMode() |
Constructor and Description |
---|
AbstractProcessor(TemplateMode templateMode,
int precedence) |
Constructor and Description |
---|
AbstractCDATASectionProcessor(TemplateMode templateMode,
int precedence) |
Constructor and Description |
---|
AbstractCommentProcessor(TemplateMode templateMode,
int precedence) |
Constructor and Description |
---|
AbstractDocTypeProcessor(TemplateMode templateMode,
int precedence) |
Modifier and Type | Method and Description |
---|---|
TemplateMode |
MatchingAttributeName.getTemplateMode() |
TemplateMode |
MatchingElementName.getTemplateMode() |
Modifier and Type | Method and Description |
---|---|
static MatchingAttributeName |
MatchingAttributeName.forAllAttributes(TemplateMode templateMode) |
static MatchingAttributeName |
MatchingAttributeName.forAllAttributesWithPrefix(TemplateMode templateMode,
String matchingAllAttributesWithPrefix) |
static MatchingElementName |
MatchingElementName.forAllElements(TemplateMode templateMode) |
static MatchingElementName |
MatchingElementName.forAllElementsWithPrefix(TemplateMode templateMode,
String matchingAllElementsWithPrefix) |
static MatchingAttributeName |
MatchingAttributeName.forAttributeName(TemplateMode templateMode,
AttributeName matchingAttributeName) |
static MatchingElementName |
MatchingElementName.forElementName(TemplateMode templateMode,
ElementName matchingElementName) |
Constructor and Description |
---|
AbstractAttributeModelProcessor(TemplateMode templateMode,
String dialectPrefix,
String elementName,
boolean prefixElementName,
String attributeName,
boolean prefixAttributeName,
int precedence,
boolean removeAttribute) |
AbstractAttributeTagProcessor(TemplateMode templateMode,
String dialectPrefix,
String elementName,
boolean prefixElementName,
String attributeName,
boolean prefixAttributeName,
int precedence,
boolean removeAttribute) |
AbstractElementModelProcessor(TemplateMode templateMode,
String dialectPrefix,
String elementName,
boolean prefixElementName,
String attributeName,
boolean prefixAttributeName,
int precedence) |
AbstractElementTagProcessor(TemplateMode templateMode,
String dialectPrefix,
String elementName,
boolean prefixElementName,
String attributeName,
boolean prefixAttributeName,
int precedence) |
Constructor and Description |
---|
AbstractProcessingInstructionProcessor(TemplateMode templateMode,
int precedence) |
Constructor and Description |
---|
AbstractTemplateBoundariesProcessor(TemplateMode templateMode,
int precedence) |
Constructor and Description |
---|
AbstractTextProcessor(TemplateMode templateMode,
int precedence) |
Constructor and Description |
---|
AbstractXMLDeclarationProcessor(TemplateMode templateMode,
int precedence) |
Constructor and Description |
---|
AbstractStandardInliner(IEngineConfiguration configuration,
TemplateMode templateMode) |
OutputExpressionInlinePreProcessorHandler(IEngineConfiguration configuration,
TemplateMode templateMode,
String standardDialectPrefix,
IInlinePreProcessorHandler handler) |
Modifier and Type | Method and Description |
---|---|
static TemplateMode |
TemplateMode.parse(String mode) |
static TemplateMode |
TemplateMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateMode[] |
TemplateMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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. |
Constructor and Description |
---|
DecoupledTemplateLogicBuilderMarkupHandler(String templateName,
TemplateMode templateMode) |
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 | Field and Description |
---|---|
static TemplateMode |
DefaultTemplateResolver.DEFAULT_TEMPLATE_MODE
Default template mode:
HTML |
static TemplateMode |
AbstractConfigurableTemplateResolver.DEFAULT_TEMPLATE_MODE
Default template mode:
HTML |
static TemplateMode |
StringTemplateResolver.DEFAULT_TEMPLATE_MODE
Default template mode:
HTML |
Modifier and Type | Method and Description |
---|---|
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) |
TemplateMode |
DefaultTemplateResolver.getTemplateMode()
Returns the template mode to be applied to templates resolved by
this template resolver.
|
TemplateMode |
TemplateResolution.getTemplateMode()
Returns the template mode to be applied to the template, as suggested by the
ITemplateResolver . |
TemplateMode |
AbstractConfigurableTemplateResolver.getTemplateMode()
Returns the template mode to be applied to templates resolved by
this template resolver.
|
TemplateMode |
StringTemplateResolver.getTemplateMode()
Returns the template mode to be applied to templates resolved by
this template resolver.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultTemplateResolver.setTemplateMode(TemplateMode templateMode)
Sets the template mode to be applied to templates resolved by this resolver.
|
void |
AbstractConfigurableTemplateResolver.setTemplateMode(TemplateMode templateMode)
Sets the template mode to be applied to templates resolved by this resolver.
|
void |
StringTemplateResolver.setTemplateMode(TemplateMode templateMode)
Sets the template mode to be applied to templates resolved by this resolver.
|
Constructor and Description |
---|
TemplateResolution(ITemplateResource templateResource,
boolean templateResourceExistenceVerified,
TemplateMode templateMode,
boolean useDecoupledLogic,
ICacheEntryValidity validity) |
TemplateResolution(ITemplateResource templateResource,
TemplateMode templateMode,
ICacheEntryValidity validity) |
Modifier and Type | Method and Description |
---|---|
static String |
EscapedAttributeUtils.unescapeAttribute(TemplateMode templateMode,
String input) |
Constructor and Description |
---|
LazyEscapingCharSequence(IEngineConfiguration configuration,
TemplateMode templateMode,
Object input) |
Copyright © 2016 The THYMELEAF team. All rights reserved.