- decorate(IModel, IModel) - Method in interface nz.net.ultraq.thymeleaf.decorators.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 class nz.net.ultraq.thymeleaf.decorators.html.HtmlBodyDecorator
-
Decorate the <body>
part.
- decorate(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.decorators.html.HtmlDocumentDecorator
-
Decorate an entire HTML page.
- decorate(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.decorators.html.HtmlHeadDecorator
-
Decorate the <head>
part.
- decorate(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.decorators.html.HtmlTitleDecorator
-
Special decorator for the <title>
part, accumulates the important
processing parts for the layout:title-pattern
processor.
- decorate(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.decorators.xml.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) - Constructor for class nz.net.ultraq.thymeleaf.decorators.DecorateProcessor
-
Constructor, configure this processor to work on the 'decorate' attribute
and to use the given sorting strategy.
- DecorateProcessor(TemplateMode, String, SortingStrategy, String) - Constructor for class nz.net.ultraq.thymeleaf.decorators.DecorateProcessor
-
Constructor, configurable processor name so that I could support 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
-
Deprecated.
- DecoratorProcessor(TemplateMode, String, SortingStrategy) - Constructor for class nz.net.ultraq.thymeleaf.decorators.DecoratorProcessor
-
Deprecated.
Constructor, configure this processor to work on the old 'decorator'
attribute and to use the given sorting strategy.
- DIALECT_NAME - Static variable in class nz.net.ultraq.thymeleaf.LayoutDialect
-
- DIALECT_PRECEDENCE - Static variable in class nz.net.ultraq.thymeleaf.LayoutDialect
-
- DIALECT_PREFIX - Static variable in class nz.net.ultraq.thymeleaf.LayoutDialect
-
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in class nz.net.ultraq.thymeleaf.decorators.DecorateProcessor
-
Locates the template to decorate and, once decorated, inserts it into the
processing chain.
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in class nz.net.ultraq.thymeleaf.decorators.DecoratorProcessor
-
Deprecated.
Logs a deprecation warning before delegating to the decorate processor.
- doProcess(ITemplateContext, IProcessableElementTag, AttributeName, String, IElementTagStructureHandler) - Method in class nz.net.ultraq.thymeleaf.decorators.TitlePatternProcessor
-
Process the layout:title-pattern
directive, replaces the title
text with the titles from the content and layout pages.
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in class nz.net.ultraq.thymeleaf.fragments.FragmentProcessor
-
Inserts the content of fragments into the encountered fragment
placeholder.
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in class nz.net.ultraq.thymeleaf.includes.IncludeProcessor
-
Deprecated.
Locates a page fragment and includes it in the current template.
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in class nz.net.ultraq.thymeleaf.includes.InsertProcessor
-
Locates a page fragment and inserts it in the current template.
- doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in class nz.net.ultraq.thymeleaf.includes.ReplaceProcessor
-
Locates a page fragment and uses it to replace the current element.
- doProcessTemplateEnd(ITemplateContext, ITemplateEnd, ITemplateBoundariesStructureHandler) - Method in class nz.net.ultraq.thymeleaf.context.ContextCreationProcessor
-
Does nothing.
- doProcessTemplateStart(ITemplateContext, ITemplateStart, ITemplateBoundariesStructureHandler) - Method in class nz.net.ultraq.thymeleaf.context.ContextCreationProcessor
-
Creates and sets the layout context on the template context so it's
available everywhere else on the template.
- findFragment(FragmentExpression, String) - Method in class nz.net.ultraq.thymeleaf.models.TemplateModelFinder
-
Return the model specified by the given fragment expression.
- findFragment(String, String, String) - Method in class nz.net.ultraq.thymeleaf.models.TemplateModelFinder
-
Return the model specified by the given fragment expression.
- findFragments(IModel) - Method in class nz.net.ultraq.thymeleaf.fragments.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 interface nz.net.ultraq.thymeleaf.decorators.SortingStrategy
-
Returns the position in a <head>
element model to insert a child
model.
- findPositionForModel(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.decorators.strategies.AppendingStrategy
-
Returns the position at the end of the <head>
section.
- findPositionForModel(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.decorators.strategies.GroupingStrategy
-
Returns the index of the last set of elements that are of the same 'type'
as the content node.
- findTemplate(FragmentExpression) - Method in class nz.net.ultraq.thymeleaf.models.TemplateModelFinder
-
Return a model for the template specified by the given fragment
expression.
- findTemplate(String) - Method in class nz.net.ultraq.thymeleaf.models.TemplateModelFinder
-
Return a model for the template specified by the given template name.
- forContext(IContext) - Static method in class nz.net.ultraq.thymeleaf.context.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 for class nz.net.ultraq.thymeleaf.fragments.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/decorator and content
templates for use later.
- FragmentMap() - Constructor for class nz.net.ultraq.thymeleaf.fragments.FragmentMap
-
- FragmentParameterNamesExtractor - Class in nz.net.ultraq.thymeleaf.fragments
-
Extracts just the parameter names from a fragment definition.
- FragmentParameterNamesExtractor() - Constructor for class nz.net.ultraq.thymeleaf.fragments.FragmentParameterNamesExtractor
-
- 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 for class nz.net.ultraq.thymeleaf.fragments.FragmentProcessor
-
Constructor, sets this processor to work on the 'fragment' attribute.