Modifier and Type | Interface and Description |
---|---|
interface |
IEngineContext
Mostly-internal interface implemented by all classes containing the context required for
template processing inside the engine itself.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEngineContext
Utility abstract class partially implementing
IEngineContext . |
class |
EngineContext
Basic non-web implementation of the
IEngineContext interface. |
class |
WebEngineContext
Basic web implementation of the
IEngineContext interface, based on the Servlet API. |
Modifier and Type | Method and Description |
---|---|
protected ITemplateContext |
AbstractTemplateHandler.getContext()
Return the processing context corresponding to the template execution for
which the template handler instance has been created.
|
Modifier and Type | Method and Description |
---|---|
static IStandardExpression |
EngineEventUtils.computeAttributeExpression(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue) |
TemplateModel |
TemplateManager.parseStandalone(ITemplateContext context,
String template,
Set<String> templateSelectors,
TemplateMode templateMode,
boolean useCache,
boolean failIfNotExists) |
void |
TemplateManager.process(TemplateModel template,
ITemplateContext context,
Writer writer) |
void |
AbstractTemplateHandler.setContext(ITemplateContext context)
Set the processing context to be used, including template name, context, and also the
engine configuration.
|
void |
ProcessorTemplateHandler.setContext(ITemplateContext context) |
void |
ITemplateHandler.setContext(ITemplateContext context) |
Constructor and Description |
---|
ExecutionInfo(ITemplateContext context) |
Ids(ITemplateContext context) |
Messages(ITemplateContext context) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
NoOpInliner.inline(ITemplateContext context,
ICDATASection cdataSection) |
CharSequence |
IInliner.inline(ITemplateContext context,
ICDATASection cdataSection)
Perform the inlining operation on an
ICDATASection node. |
CharSequence |
NoOpInliner.inline(ITemplateContext context,
IComment comment) |
CharSequence |
IInliner.inline(ITemplateContext context,
IComment comment)
Perform the inlining operation on an
IComment node. |
CharSequence |
NoOpInliner.inline(ITemplateContext context,
IText text) |
CharSequence |
IInliner.inline(ITemplateContext context,
IText text)
Perform the inlining operation on an
IText node. |
Modifier and Type | Method and Description |
---|---|
String |
StandardMessageResolver.createAbsentMessageRepresentation(ITemplateContext context,
Class<?> origin,
String key,
Object[] messageParameters) |
String |
IMessageResolver.createAbsentMessageRepresentation(ITemplateContext context,
Class<?> origin,
String key,
Object[] messageParameters)
Create a suitable representation of an absent message (a message that could not be resolved).
|
String |
StandardMessageResolver.resolveMessage(ITemplateContext context,
Class<?> origin,
String key,
Object[] messageParameters) |
String |
IMessageResolver.resolveMessage(ITemplateContext context,
Class<?> origin,
String key,
Object[] messageParameters)
Resolve the message, returning the requested message (or null if not found).
|
String |
StandardMessageResolver.resolveMessage(ITemplateContext context,
Class<?> origin,
String key,
Object[] messageParameters,
boolean performTemplateBasedResolution,
boolean performOriginBasedResolution,
boolean performDefaultBasedResolution) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractCDATASectionProcessor.doProcess(ITemplateContext context,
ICDATASection cdataSection,
ICDATASectionStructureHandler structureHandler) |
void |
AbstractCDATASectionProcessor.process(ITemplateContext context,
ICDATASection cdataSection,
ICDATASectionStructureHandler structureHandler) |
void |
ICDATASectionProcessor.process(ITemplateContext context,
ICDATASection cdataSection,
ICDATASectionStructureHandler structureHandler)
Execute the processor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractCommentProcessor.doProcess(ITemplateContext context,
IComment comment,
ICommentStructureHandler structureHandler) |
void |
ICommentProcessor.process(ITemplateContext context,
IComment comment,
ICommentStructureHandler structureHandler)
Execute the processor.
|
void |
AbstractCommentProcessor.process(ITemplateContext context,
IComment comment,
ICommentStructureHandler structureHandler) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractDocTypeProcessor.doProcess(ITemplateContext context,
IDocType docType,
IDocTypeStructureHandler structureHandler) |
void |
AbstractDocTypeProcessor.process(ITemplateContext context,
IDocType docType,
IDocTypeStructureHandler structureHandler) |
void |
IDocTypeProcessor.process(ITemplateContext context,
IDocType docType,
IDocTypeStructureHandler structureHandler)
Execute the processor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractAttributeModelProcessor.doProcess(ITemplateContext context,
IModel model,
AttributeName attributeName,
String attributeValue,
IElementModelStructureHandler structureHandler) |
protected void |
AbstractAttributeModelProcessor.doProcess(ITemplateContext context,
IModel model,
IElementModelStructureHandler structureHandler) |
protected abstract void |
AbstractElementModelProcessor.doProcess(ITemplateContext context,
IModel model,
IElementModelStructureHandler structureHandler) |
protected abstract void |
AbstractAttributeTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractAttributeTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
IElementTagStructureHandler structureHandler) |
protected abstract void |
AbstractElementTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
IElementTagStructureHandler structureHandler) |
void |
IElementModelProcessor.process(ITemplateContext context,
IModel model,
IElementModelStructureHandler structureHandler)
Execute the processor.
|
void |
AbstractElementModelProcessor.process(ITemplateContext context,
IModel model,
IElementModelStructureHandler structureHandler) |
void |
IElementTagProcessor.process(ITemplateContext context,
IProcessableElementTag tag,
IElementTagStructureHandler structureHandler)
Execute the processor.
|
void |
AbstractElementTagProcessor.process(ITemplateContext context,
IProcessableElementTag tag,
IElementTagStructureHandler structureHandler) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractProcessingInstructionProcessor.doProcess(ITemplateContext context,
IProcessingInstruction processingInstruction,
IProcessingInstructionStructureHandler structureHandler) |
void |
IProcessingInstructionProcessor.process(ITemplateContext context,
IProcessingInstruction processingInstruction,
IProcessingInstructionStructureHandler structureHandler)
Execute the processor.
|
void |
AbstractProcessingInstructionProcessor.process(ITemplateContext context,
IProcessingInstruction processingInstruction,
IProcessingInstructionStructureHandler structureHandler) |
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractTemplateBoundariesProcessor.doProcessTemplateEnd(ITemplateContext context,
ITemplateEnd templateEnd,
ITemplateBoundariesStructureHandler structureHandler) |
abstract void |
AbstractTemplateBoundariesProcessor.doProcessTemplateStart(ITemplateContext context,
ITemplateStart templateStart,
ITemplateBoundariesStructureHandler structureHandler) |
void |
AbstractTemplateBoundariesProcessor.processTemplateEnd(ITemplateContext context,
ITemplateEnd templateEnd,
ITemplateBoundariesStructureHandler structureHandler) |
void |
ITemplateBoundariesProcessor.processTemplateEnd(ITemplateContext context,
ITemplateEnd templateEnd,
ITemplateBoundariesStructureHandler structureHandler)
Execute the processor for a
ITemplateEnd event. |
void |
AbstractTemplateBoundariesProcessor.processTemplateStart(ITemplateContext context,
ITemplateStart templateStart,
ITemplateBoundariesStructureHandler structureHandler) |
void |
ITemplateBoundariesProcessor.processTemplateStart(ITemplateContext context,
ITemplateStart templateStart,
ITemplateBoundariesStructureHandler structureHandler)
Execute the processor for a
ITemplateStart event. |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractTextProcessor.doProcess(ITemplateContext context,
IText text,
ITextStructureHandler structureHandler) |
void |
ITextProcessor.process(ITemplateContext context,
IText text,
ITextStructureHandler structureHandler)
Execute the processor.
|
void |
AbstractTextProcessor.process(ITemplateContext context,
IText text,
ITextStructureHandler structureHandler) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractXMLDeclarationProcessor.doProcess(ITemplateContext context,
IXMLDeclaration xmlDeclaration,
IXMLDeclarationStructureHandler structureHandler) |
void |
AbstractXMLDeclarationProcessor.process(ITemplateContext context,
IXMLDeclaration xmlDeclaration,
IXMLDeclarationStructureHandler structureHandler) |
void |
IXMLDeclarationProcessor.process(ITemplateContext context,
IXMLDeclaration xmlDeclaration,
IXMLDeclarationStructureHandler structureHandler)
Execute the processor.
|
Modifier and Type | Method and Description |
---|---|
static Fragment |
FragmentExpression.resolveExecutedFragmentExpression(ITemplateContext context,
FragmentExpression.ExecutedFragmentExpression executedFragmentExpression,
boolean failIfNotExists) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
AbstractStandardInliner.inline(ITemplateContext context,
ICDATASection cdataSection) |
CharSequence |
AbstractStandardInliner.inline(ITemplateContext context,
IComment comment) |
CharSequence |
AbstractStandardInliner.inline(ITemplateContext context,
IText text) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
AbstractStandardTargetSelectionTagProcessor.computeAdditionalLocalVariables(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IStandardExpression expression) |
protected void |
StandardInliningCDATASectionProcessor.doProcess(ITemplateContext context,
ICDATASection cdataSection,
ICDATASectionStructureHandler structureHandler) |
protected void |
StandardConditionalCommentProcessor.doProcess(ITemplateContext context,
IComment comment,
ICommentStructureHandler structureHandler) |
protected void |
StandardInliningCommentProcessor.doProcess(ITemplateContext context,
IComment comment,
ICommentStructureHandler structureHandler) |
protected void |
StandardTranslationDocTypeProcessor.doProcess(ITemplateContext context,
IDocType docType,
IDocTypeStructureHandler structureHandler) |
protected void |
StandardRefAttributeTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
StandardSubstituteByTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
StandardWithTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractStandardFragmentInsertionTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractStandardAssertionTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractStandardConditionalVisibilityTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractStandardExpressionAttributeTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
StandardXmlNsTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractStandardMultipleAttributeModifierTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
StandardEachTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
StandardSwitchTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractStandardTargetSelectionTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractStandardTextInlineSettingTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
StandardUtextTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IElementTagStructureHandler structureHandler) |
protected void |
StandardStyleappendTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
Object expressionResult,
IElementTagStructureHandler structureHandler) |
protected void |
StandardRemoveTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
Object expressionResult,
IElementTagStructureHandler structureHandler) |
protected void |
StandardClassappendTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
Object expressionResult,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractStandardDoubleAttributeModifierTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
Object expressionResult,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractStandardAttributeModifierTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
Object expressionResult,
IElementTagStructureHandler structureHandler) |
protected abstract void |
AbstractStandardExpressionAttributeTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
Object expressionResult,
IElementTagStructureHandler structureHandler) |
protected void |
StandardConditionalFixedValueTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
Object expressionResult,
IElementTagStructureHandler structureHandler) |
protected void |
StandardTextTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
Object expressionResult,
IElementTagStructureHandler structureHandler) |
protected void |
StandardBlockTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
IElementTagStructureHandler structureHandler) |
protected void |
StandardFragmentTagProcessor.doProcess(ITemplateContext context,
IProcessableElementTag tag,
IElementTagStructureHandler structureHandler) |
protected void |
StandardInliningTextProcessor.doProcess(ITemplateContext context,
IText text,
ITextStructureHandler structureHandler) |
void |
StandardInlineEnablementTemplateBoundariesProcessor.doProcessTemplateEnd(ITemplateContext context,
ITemplateEnd templateEnd,
ITemplateBoundariesStructureHandler structureHandler) |
void |
StandardInlineEnablementTemplateBoundariesProcessor.doProcessTemplateStart(ITemplateContext context,
ITemplateStart templateStart,
ITemplateBoundariesStructureHandler structureHandler) |
protected IInliner |
StandardInlineTextualTagProcessor.getInliner(ITemplateContext context,
StandardInlineMode inlineMode) |
protected IInliner |
StandardInlineHTMLTagProcessor.getInliner(ITemplateContext context,
StandardInlineMode inlineMode) |
protected IInliner |
StandardInlineXMLTagProcessor.getInliner(ITemplateContext context,
StandardInlineMode inlineMode) |
protected abstract IInliner |
AbstractStandardTextInlineSettingTagProcessor.getInliner(ITemplateContext context,
StandardInlineMode inlineMode) |
protected boolean |
StandardIfTagProcessor.isVisible(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue) |
protected boolean |
StandardCaseTagProcessor.isVisible(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue) |
protected abstract boolean |
AbstractStandardConditionalVisibilityTagProcessor.isVisible(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue) |
protected boolean |
StandardUnlessTagProcessor.isVisible(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue) |
void |
StandardDefaultAttributesTagProcessor.process(ITemplateContext context,
IProcessableElementTag tag,
IElementTagStructureHandler structureHandler) |
protected void |
AbstractStandardTargetSelectionTagProcessor.validateSelectionValue(ITemplateContext context,
IProcessableElementTag tag,
AttributeName attributeName,
String attributeValue,
IStandardExpression expression) |
Constructor and Description |
---|
LazyProcessingCharSequence(ITemplateContext context,
TemplateModel templateModel) |
Copyright © 2017 The THYMELEAF team. All rights reserved.