- 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, boolean) - 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, boolean, 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, boolean) - 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, IProcessableElementTag, AttributeName, String, IElementTagStructureHandler) - Method in class nz.net.ultraq.thymeleaf.fragments.CollectFragmentProcessor
-
Inserts the content of :define
fragments into the
encountered collect placeholder.
- doProcess(ITemplateContext, IProcessableElementTag, AttributeName, String, IElementTagStructureHandler) - 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.
- each(IModel, ITemplateEventConsumer) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Iterate through each event in the model.
- ElementMerger - Class in nz.net.ultraq.thymeleaf.models
-
Merges an element and all its children into an existing element.
- ElementMerger(ITemplateContext) - Constructor for class nz.net.ultraq.thymeleaf.models.ElementMerger
-
Constructor, sets up the element merger context.
- equals(ICloseElementTag, Object) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.ICloseElementTagExtensions
-
Compares this close tag with another.
- equals(IModel, Object) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Compare 2 models, returning true
if all of the model's events are
equal.
- equals(IProcessableElementTag, Object) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IProcessableElementTagExtensions
-
Compares this open tag with another.
- equals(IStandaloneElementTag, Object) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IStandaloneElementTagExtensions
-
Compares this standalone tag with another.
- equals(ITemplateEvent, Object) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.ITemplateEventExtensions
-
- equals(IText, Object) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.ITextExtensions
-
Compares this text with another.
- equalsIgnoreWhitespace(IModel, IModel) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Compare 2 models, returning true
if all of the model's events
non-whitespace events are equal.
- equalsName(IAttribute, String, String) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IAttributeExtensions
-
Returns whether or not an attribute is an attribute processor of the
given name, checks both prefix:processor and data-prefix-processor
variants.
- EventIterator - Class in nz.net.ultraq.thymeleaf.models.extensions
-
An iterator that treats a model as a queue of events.
- EventIterator(IModel) - Constructor for class nz.net.ultraq.thymeleaf.models.extensions.EventIterator
-
- everyWithIndex(IModel, ITemplateEventIntPredicate) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Return true
only if all the events in the model return
true
for the given closure.
- ExpressionProcessor - Class in nz.net.ultraq.thymeleaf.expressions
-
A simplified API for working with Thymeleaf expressions.
- ExpressionProcessor(IExpressionContext) - Constructor for class nz.net.ultraq.thymeleaf.expressions.ExpressionProcessor
-
Constructor, sets the execution context.
- extract(String) - Method in class nz.net.ultraq.thymeleaf.fragments.FragmentParameterNamesExtractor
-
Returns a list of parameter names for the given fragment definition.
- find(IModel, ITemplateEventPredicate) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Returns the first event in the model that meets the criteria of the given
closure.
- findAll(IModel, ITemplateEventPredicate) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Find all events in the model that match the given closure.
- findFragment(FragmentExpression) - 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.
- findFragment(String, String) - Method in class nz.net.ultraq.thymeleaf.models.TemplateModelFinder
-
Return the model specified by the given fragment expression.
- findFragment(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.
- findIndexOf(IModel, ITemplateEventPredicate) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Returns the index of the first event in the model that meets the criteria
of the given closure.
- findIndexOf(IModel, int, ITemplateEventPredicate) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Returns the index of the first event in the model that meets the criteria
of the given closure, starting from a specified position.
- findIndexOfModel(IModel, IModel) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
A special variant of findIndexOf
that uses models, as I seem to
be using those a lot.
- findModel(IModel, ITemplateEventPredicate) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Returns the first instance of a model that meets the given closure
criteria.
- 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.AppendingRespectLayoutTitleStrategy
-
For <title>
elements, returns the position of the matching
<title>
in the headModel
argument, otherwise returns the
position at the end of the <head>
section.
- findPositionForModel(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.decorators.strategies.AppendingStrategy
-
Deprecated.
Returns the position at the end of the <head>
section.
- findPositionForModel(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.decorators.strategies.GroupingRespectLayoutTitleStrategy
-
For <title>
elements, returns the position of the matching
<title>
in the headModel
argument, otherwise returns the
index of the last set of elements that are of the same 'type' as the
content node.
- findPositionForModel(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.decorators.strategies.GroupingStrategy
-
Deprecated.
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.
- first(IModel) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Returns the first event on the model.
- FRAGMENT_COLLECTION_KEY - Static variable in class nz.net.ultraq.thymeleaf.fragments.extensions.FragmentExtensions
-
- FragmentExtensions - Class in nz.net.ultraq.thymeleaf.fragments.extensions
-
Holds the layout fragments encountered across layout/decorator and content
templates for use later.
- FragmentExtensions() - Constructor for class nz.net.ultraq.thymeleaf.fragments.extensions.FragmentExtensions
-
- 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.
- 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
-
- FragmentParameterVariableUpdater - Class in nz.net.ultraq.thymeleaf.fragments
-
Updates the variables at a given element/fragment scope to include those in a
fragment expression.
- FragmentParameterVariableUpdater(String, ITemplateContext) - Constructor for class nz.net.ultraq.thymeleaf.fragments.FragmentParameterVariableUpdater
-
Constructor, set the dialect prefix currently being used.
- 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.
- IAttributeExtensions - Class in nz.net.ultraq.thymeleaf.models.extensions
-
Meta-programming extensions to the IAttribute
class.
- IAttributeExtensions() - Constructor for class nz.net.ultraq.thymeleaf.models.extensions.IAttributeExtensions
-
- ICloseElementTagExtensions - Class in nz.net.ultraq.thymeleaf.models.extensions
-
Meta-programming extensions to the ICloseElementTag
class.
- ICloseElementTagExtensions() - Constructor for class nz.net.ultraq.thymeleaf.models.extensions.ICloseElementTagExtensions
-
- IContextExtensions - Class in nz.net.ultraq.thymeleaf.context.extensions
-
Meta-programming extensions to the IContext
class.
- IContextExtensions() - Constructor for class nz.net.ultraq.thymeleaf.context.extensions.IContextExtensions
-
- IModelExtensions - Class in nz.net.ultraq.thymeleaf.models.extensions
-
Meta-programming extensions to the IModel
class.
- IModelExtensions() - Constructor for class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
- IncludeProcessor - Class in nz.net.ultraq.thymeleaf.includes
-
- IncludeProcessor(TemplateMode, String) - Constructor for class nz.net.ultraq.thymeleaf.includes.IncludeProcessor
-
Deprecated.
Constructor, sets this processor to work on the 'include' attribute.
- insertModelWithWhitespace(IModel, int, IModel, IModelFactory) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Inserts a model, creating a whitespace event before it so that it appears
in line with all the existing events.
- InsertProcessor - Class in nz.net.ultraq.thymeleaf.includes
-
Similar to Thymeleaf's th:insert
, but allows the passing of entire
element fragments to the included template.
- InsertProcessor(TemplateMode, String) - Constructor for class nz.net.ultraq.thymeleaf.includes.InsertProcessor
-
Constructor, sets this processor to work on the 'insert' attribute.
- insertWithWhitespace(IModel, int, ITemplateEvent, IModelFactory) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Inserts an event, creating a whitespace event before it so that it
appears in line with all the existing events.
- IProcessableElementTagExtensions - Class in nz.net.ultraq.thymeleaf.models.extensions
-
Meta-programming extensions to the IProcessableElementTag
class.
- IProcessableElementTagExtensions() - Constructor for class nz.net.ultraq.thymeleaf.models.extensions.IProcessableElementTagExtensions
-
- isAutoHeadMerging() - Method in class nz.net.ultraq.thymeleaf.decorators.html.HtmlDocumentDecorator
-
- isClosingElement(ITemplateEvent) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.ITemplateEventExtensions
-
Returns whether or not this event represents an opening element.
- isClosingElementOf(ITemplateEvent, String) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.ITemplateEventExtensions
-
Returns whether or not this event represents a closing element of the
given name.
- isElement(IModel) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Returns whether or not this model represents an element with potential
child elements.
- isElementOf(IModel, String) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Returns whether or not this model represents an element of the given
name.
- isOpeningElement(ITemplateEvent) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.ITemplateEventExtensions
-
Returns whether or not this event represents an opening element.
- isOpeningElementOf(ITemplateEvent, String) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.ITemplateEventExtensions
-
Returns whether or not this event represents an opening element of the
given name.
- IStandaloneElementTagExtensions - Class in nz.net.ultraq.thymeleaf.models.extensions
-
Meta-programming extensions to the IStandaloneElementTag
class.
- IStandaloneElementTagExtensions() - Constructor for class nz.net.ultraq.thymeleaf.models.extensions.IStandaloneElementTagExtensions
-
- isWhitespace(IModel) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Returns whether or not this model represents collapsible whitespace.
- isWhitespace(ITemplateEvent) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.ITemplateEventExtensions
-
Returns whether or not this event represents collapsible whitespace.
- isWhitespace(IText) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.ITextExtensions
-
Returns whether or not this text event is collapsible whitespace.
- ITemplateEventExtensions - Class in nz.net.ultraq.thymeleaf.models.extensions
-
Meta-programming extensions to the ITemplateEvent
class.
- ITemplateEventExtensions() - Constructor for class nz.net.ultraq.thymeleaf.models.extensions.ITemplateEventExtensions
-
- iterator(IModel) - Static method in class nz.net.ultraq.thymeleaf.models.extensions.IModelExtensions
-
Used to make this class iterable as an event queue.
- ITextExtensions - Class in nz.net.ultraq.thymeleaf.models.extensions
-
Meta-programming extensions to the IText
class.
- ITextExtensions() - Constructor for class nz.net.ultraq.thymeleaf.models.extensions.ITextExtensions
-