- decorate(IModel, IModel) - Method in Decorator
-
Decorate the target model with the contents of the source model, returning
a new model that is the result of that decoration.
- decorate(IModel, IModel) - Method in HtmlBodyDecorator
-
Decorate the <body> part.
- decorate(IModel, IModel) - Method in HtmlDocumentDecorator
-
Decorate an entire HTML page.
- decorate(IModel, IModel) - Method in HtmlHeadDecorator
-
Decorate the <head> part.
- decorate(IModel, IModel) - Method in HtmlTitleDecorator
-
Special decorator for the <title> part, accumulates the important
processing parts for the layout:title-pattern processor.
- decorate(IModel, IModel) - Method in XmlDocumentDecorator
-
Decorates the target XML document with the source one.
- DecorateProcessor - Class in nz.net.ultraq.thymeleaf.decorators
Specifies the name of the template to decorate using the current template.
- DecorateProcessor(TemplateMode, String, SortingStrategy, String) - Constructor in DecorateProcessor
-
Constructor, configurable processor name for the purposes of the
deprecated layout:decorator alias.
- Decorator - Interface in nz.net.ultraq.thymeleaf.decorators
A decorator performs decoration of a target model, using a source model for
all the decorations to apply.
- DecoratorProcessor - Class in nz.net.ultraq.thymeleaf.decorators
An alias of the
DecorateProcessor to warn people that the
layout:decorator/
data-layout-decorator processor has been
renamed.
- DecoratorProcessor(TemplateMode, String, SortingStrategy) - Constructor in DecoratorProcessor
-
Constructor, configure this processor to work on the old 'decorator'
attribute and to use the given sorting strategy.
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in DecorateProcessor
-
Locates the template to decorate and, once decorated, inserts it into the
processing chain.
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in DecoratorProcessor
-
Logs a deprecation warning before delegating to the decorate processor.
- doProcess(ITemplateContext, IProcessableElementTag, AttributeName, String, IElementTagStructureHandler) - Method in FragmentProcessor
-
Inserts the content of fragments into the encountered fragment placeholder.
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in IncludeProcessor
-
Locates a page fragment and includes it in the current template.
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in InsertProcessor
-
Locates a page fragment and inserts it in the current template.
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in ReplaceProcessor
-
Locates a page fragment and uses it to replace the current element.
- doProcess(ITemplateContext, IProcessableElementTag, AttributeName, String, IElementTagStructureHandler) - Method in TitlePatternProcessor
-
Process the layout:title-pattern directive, replaces the title text
with the titles from the content and layout pages.
- doProcessTemplateEnd(ITemplateContext, ITemplateEnd, ITemplateBoundariesStructureHandler) - Method in ContextCreationProcessor
-
Does nothing.
- doProcessTemplateStart(ITemplateContext, ITemplateStart, ITemplateBoundariesStructureHandler) - Method in ContextCreationProcessor
-
Creates and sets the layout context on the template context so it's
available everywhere else on the template.
- findFragment(String, String, String) - Method in TemplateModelFinder
-
Return the model specified by the template and fragment name parameters.
- findFragments(IModel) - Method in FragmentFinder
-
Find and return models for layout dialect fragments within the scope of the
given model, without delving into layout:include or
layout:replace elements, mapped by the name of each fragment.
- findPositionForModel(IModel, IModel) - Method in AppendingStrategy
-
Returns the position at the end of the <head> section.
- findPositionForModel(IModel, IModel) - Method in GroupingStrategy
-
Returns the index of the last set of elements that are of the same 'type'
as the content node.
- findPositionForModel(IModel, IModel) - Method in SortingStrategy
-
Returns the position in a <head> element model to insert a child
model.
- findTemplate(String) - Method in TemplateModelFinder
-
Return a model for the template specified by the given template name.
- forContext(IContext) - Method in LayoutContext
-
Retrieve the layout dialect context on the Thymeleaf context.
- FragmentFinder - Class in nz.net.ultraq.thymeleaf.fragments
Searches for and returns layout dialect fragments within a given
scope/element.
- FragmentFinder(String) - Constructor in FragmentFinder
-
Constructor, create a new fragment finder to search for fragments using the
given prefix as the one configured for the layout dialect.
- FragmentMap - Class in nz.net.ultraq.thymeleaf.fragments
Holds the layout fragments encountered across layout and content templates
for later use.
- FragmentParameterNamesExtractor - Class in nz.net.ultraq.thymeleaf.fragments
Extracts just the parameter names from a fragment definition.
- FragmentProcessor - Class in nz.net.ultraq.thymeleaf.fragments
This processor serves a dual purpose: to mark sections of the template that
can be replaced, and to do the replacing when they're encountered.
- FragmentProcessor(TemplateMode, String) - Constructor in FragmentProcessor
-
Constructor, sets this processor to work on the 'fragment' attribute.