A B C D E F G H I L M N P R S T U V X 
All Classes All Packages

A

add(IModel) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.ModelBuilder
Appends an existing model to the model being built.
AppendingStrategy - Class in nz.net.ultraq.thymeleaf.layoutdialect.decorators.strategies
The standard <head> merging strategy, which simply appends the content elements to the layout ones.
AppendingStrategy() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.decorators.strategies.AppendingStrategy
 
asBoolean(IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Set that a model evaluates to 'false' if it has no events.
AttributeMerger - Class in nz.net.ultraq.thymeleaf.layoutdialect.models
Merges attributes from one element into another.
AttributeMerger(ITemplateContext) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.AttributeMerger
Constructor, sets up the attribute merger context.

B

build(Closure<? extends IModel>) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.ModelBuilder
Captures the top `build` call so that it doesn't end up as a node in the final model.

C

childModelIterator(IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
If this model represents an element, then this method returns an iterator over any potential child items as models of their own.
ChildModelIterator - Class in nz.net.ultraq.thymeleaf.layoutdialect.models.extensions
An iterator that works with a model's immediate children, returning each one as a model of its own.
ChildModelIterator(IModel) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ChildModelIterator
 
CollectFragmentProcessor - Class in nz.net.ultraq.thymeleaf.layoutdialect.fragments
Deprecated.
CollectFragmentProcessor(TemplateMode, String) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.fragments.CollectFragmentProcessor
Deprecated.
Constructor, sets this processor to work on the 'collect' attribute.
CONTENT_TITLE_KEY - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.TitlePatternProcessor
 
context - Variable in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.xml.XmlDocumentDecorator
 
createNode(Object) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.ModelBuilder
Create a model for the given HTML element.
createNode(Object, Object) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.ModelBuilder
Create a model for the given HTML element and inner text content.
createNode(Object, Map) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.ModelBuilder
Create a model for the given HTML element and attributes.
createNode(Object, Map, Object) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.ModelBuilder
Create a model for the given HTML element, attributes, and inner text content.

D

decorate(IModel, IModel) - Method in interface nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.decorators.html.HtmlBodyDecorator
Decorate the <body> part.
decorate(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlDocumentDecorator
Decorate an entire HTML page.
decorate(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlHeadDecorator
Decorate the <head> part.
decorate(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.decorators.xml.XmlDocumentDecorator
Decorates the target XML document with the source one.
DecorateProcessor - Class in nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.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.layoutdialect.decorators.DecorateProcessor
Constructor, configurable processor name so that I could support the deprecated layout:decorator alias.
Decorator - Interface in nz.net.ultraq.thymeleaf.layoutdialect.decorators
A decorator performs decoration of a target model, using a source model for all the decorations to apply.
DIALECT_NAME - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.LayoutDialect
 
DIALECT_PRECEDENCE - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.LayoutDialect
 
DIALECT_PREFIX - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.LayoutDialect
 
doProcess(ITemplateContext, IModel, AttributeName, String, IElementModelStructureHandler) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.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.layoutdialect.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.layoutdialect.includes.ReplaceProcessor
Locates a page fragment and uses it to replace the current element.
doProcess(ITemplateContext, IProcessableElementTag, AttributeName, String, IElementTagStructureHandler) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.fragments.CollectFragmentProcessor
Deprecated.
Inserts the content of :define fragments into the encountered collect placeholder.
doProcess(ITemplateContext, IProcessableElementTag, AttributeName, String, IElementTagStructureHandler) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.FragmentProcessor
Inserts the content of fragments into the encountered fragment placeholder.

E

each(IModel, Consumer<ITemplateEvent>) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Iterate through each event in the model.
ElementMerger - Class in nz.net.ultraq.thymeleaf.layoutdialect.models
Merges an element and all its children into an existing element.
ElementMerger(ITemplateContext) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.ElementMerger
Constructor, sets up the element merger context.
equals(ICloseElementTag, Object) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ICloseElementTagExtensions
Compares this close tag with another.
equals(IModel, Object) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.models.extensions.IProcessableElementTagExtensions
Compare processable elements for equality.
equals(IStandaloneElementTag, Object) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IStandaloneElementTagExtensions
Compares this standalone tag with another.
equals(ITemplateEvent, Object) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ITemplateEventExtensions
 
equals(IText, Object) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ITextExtensions
Compares this text with another.
equalsIgnoreXmlnsAndWith(IProcessableElementTag, IProcessableElementTag, IContext) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IProcessableElementTagExtensions
Compare elements, ignoring XML namespace declarations and Thymeleaf's th:with processor.
equalsName(IAttribute, String, String) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.models.extensions
An iterator that treats a model as a queue of events.
EventIterator(IModel) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.EventIterator
 
everyWithIndex(IModel, BiPredicate<ITemplateEvent, Integer>) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.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.expressionprocessor
A simplified API for working with Thymeleaf expressions.
ExpressionProcessor(IExpressionContext) - Constructor for class nz.net.ultraq.thymeleaf.expressionprocessor.ExpressionProcessor
Constructor, sets the execution context.
extract(String) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.FragmentParameterNamesExtractor
Returns a list of parameter names for the given fragment definition.

F

find(IModel, Predicate<ITemplateEvent>) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Returns the first event in the model that meets the criteria of the given closure.
findAll(IModel, Predicate<ITemplateEvent>) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Find all events in the model that match the given closure.
findFragment(String) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.TemplateModelFinder
Return the model specified by the given fragment expression.
findFragment(String, String) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.TemplateModelFinder
Return the model specified by the given fragment expression.
findFragment(String, String, String) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.TemplateModelFinder
Return the model specified by the given fragment expression.
findFragment(FragmentExpression) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.TemplateModelFinder
Return the model specified by the given fragment expression.
findFragments(IModel) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.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, Predicate<ITemplateEvent>) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Returns the index of the first event in the model that meets the criteria of the given closure.
findIndexOfModel(IModel, IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
A special variant of findIndexOf that uses models, as I seem to be using those a lot.
findModel(IModel, Predicate<ITemplateEvent>) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.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.layoutdialect.decorators.strategies.AppendingStrategy
Returns the position at the end of the <head> section.
findPositionForModel(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.strategies.GroupingStrategy
Returns the index of the last set of elements that are of the same 'type' as the content node.
findTemplate(String) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.TemplateModelFinder
Return a model for the template specified by the given template name.
findTemplate(FragmentExpression) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.TemplateModelFinder
Return a model for the template specified by the given fragment expression.
first(IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Returns the first event on the model.
FRAGMENT_COLLECTION_KEY - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.extensions.FragmentExtensions
 
FragmentExtensions - Class in nz.net.ultraq.thymeleaf.layoutdialect.fragments.extensions
Holds the layout fragments encountered across layout/decorator and content templates for use later.
FragmentExtensions() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.fragments.extensions.FragmentExtensions
 
FragmentFinder - Class in nz.net.ultraq.thymeleaf.layoutdialect.fragments
Searches for and returns layout dialect fragments within a given scope/element.
FragmentFinder(String) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.fragments
Extracts just the parameter names from a fragment definition.
FragmentParameterNamesExtractor() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.fragments.FragmentParameterNamesExtractor
 
FragmentParameterVariableUpdater - Class in nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.fragments.FragmentParameterVariableUpdater
Constructor, set the dialect prefix currently being used.
FragmentProcessor - Class in nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.fragments.FragmentProcessor
Constructor, sets this processor to work on the 'fragment' attribute.

G

getAt(IContext, String) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.context.extensions.IContextExtensions
Enables use of the value = context[key] syntax over the context object, is a synonym for the getVariable method.
getAutoHeadMerging() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlDocumentDecorator
 
getContext() - Method in class nz.net.ultraq.thymeleaf.expressionprocessor.ExpressionProcessor
 
getContext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlBodyDecorator
 
getContext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlHeadDecorator
 
getContext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlTitleDecorator
 
getContext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.xml.XmlDocumentDecorator
 
getContext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.FragmentParameterVariableUpdater
 
getContext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.AttributeMerger
 
getContext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.ElementMerger
 
getContext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.TemplateModelFinder
 
getContext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclarationMerger
 
getContext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclarationParser
 
getDialectPrefix() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.FragmentFinder
 
getDialectPrefix() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.FragmentParameterVariableUpdater
 
getFragmentCollection(ITemplateContext) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.extensions.FragmentExtensions
 
getFragmentCollection(ITemplateContext, boolean) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.extensions.FragmentExtensions
Retrieves the fragment collection for the current context.
getModel(IModel, int) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Returns the model at the given index.
getName() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclaration
 
getOrCreate(IContext, String, Supplier<T>) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.context.extensions.IContextExtensions
Retrieves an item from the context, or creates one on the context if it doesn't yet exist.
getPrefixForDialect(IContext, Class<? extends IProcessorDialect>) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.context.extensions.IContextExtensions
Returns the configured prefix for the given dialect.
getProcessors(String) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.LayoutDialect
Returns the layout dialect's processors.
getSortingStrategy() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlDocumentDecorator
 
getSortingStrategy() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlHeadDecorator
 
getValue() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclaration
 
GroupingStrategy - Class in nz.net.ultraq.thymeleaf.layoutdialect.decorators.strategies
The <head> merging strategy which groups like elements together.
GroupingStrategy() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.decorators.strategies.GroupingStrategy
 

H

hasNext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ChildModelIterator
 
hasNext() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.EventIterator
 
HtmlBodyDecorator - Class in nz.net.ultraq.thymeleaf.layoutdialect.decorators.html
A decorator specific to processing an HTML <body> element.
HtmlBodyDecorator(ITemplateContext) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlBodyDecorator
Constructor, sets up the element decorator context.
HtmlDocumentDecorator - Class in nz.net.ultraq.thymeleaf.layoutdialect.decorators.html
A decorator made to work over an HTML document.
HtmlDocumentDecorator(ITemplateContext, SortingStrategy, boolean) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlDocumentDecorator
Constructor, apply the given sorting strategy to the decorator.
HtmlHeadDecorator - Class in nz.net.ultraq.thymeleaf.layoutdialect.decorators.html
A decorator specific to processing an HTML <head> element.
HtmlHeadDecorator(ITemplateContext, SortingStrategy) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlHeadDecorator
Constructor, sets up the decorator context.
HtmlTitleDecorator - Class in nz.net.ultraq.thymeleaf.layoutdialect.decorators.html
Decorator for the <title> part of the template to handle the special processing required for the layout:title-pattern processor.
HtmlTitleDecorator(ITemplateContext) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlTitleDecorator
Constructor, sets up the decorator context.

I

IAttributeExtensions - Class in nz.net.ultraq.thymeleaf.layoutdialect.models.extensions
Meta-programming extensions to the IAttribute class.
IAttributeExtensions() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IAttributeExtensions
 
ICloseElementTagExtensions - Class in nz.net.ultraq.thymeleaf.layoutdialect.models.extensions
Meta-programming extensions to the ICloseElementTag class.
ICloseElementTagExtensions() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ICloseElementTagExtensions
 
IContextExtensions - Class in nz.net.ultraq.thymeleaf.layoutdialect.context.extensions
Meta-programming extensions to the IContext class.
IContextExtensions() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.context.extensions.IContextExtensions
 
IModelExtensions - Class in nz.net.ultraq.thymeleaf.layoutdialect.models.extensions
Meta-programming extensions to the IModel class.
IModelExtensions() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
 
IncludeProcessor - Class in nz.net.ultraq.thymeleaf.layoutdialect.includes
Deprecated.
Use InsertProcessor (layout:insert) instead.
IncludeProcessor(TemplateMode, String) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.models.extensions.IModelExtensions
Inserts a model, creating whitespace events around it so that it appears in line with all the existing events.
InsertProcessor - Class in nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.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.layoutdialect.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.layoutdialect.models.extensions
Meta-programming extensions to the IProcessableElementTag class.
IProcessableElementTagExtensions() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IProcessableElementTagExtensions
 
isAutoHeadMerging() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlDocumentDecorator
 
isClosingElement(ITemplateEvent) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ITemplateEventExtensions
Returns whether or not this event represents an opening element.
isClosingElementOf(ITemplateEvent, String) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.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.layoutdialect.models.extensions.IModelExtensions
Returns whether or not this model represents a single HTML element.
isOpeningElement(ITemplateEvent) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ITemplateEventExtensions
Returns whether or not this event represents an opening element.
isOpeningElementOf(ITemplateEvent, String) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ITemplateEventExtensions
Returns whether or not this event represents an opening element of the given name.
IStandaloneElementTagExtensions - Class in nz.net.ultraq.thymeleaf.layoutdialect.models.extensions
Meta-programming extensions to the IStandaloneElementTag class.
IStandaloneElementTagExtensions() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IStandaloneElementTagExtensions
 
isWhitespace(IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Returns whether or not this model represents collapsible whitespace.
isWhitespace(ITemplateEvent) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ITemplateEventExtensions
Returns whether or not this event represents collapsible whitespace.
isWhitespace(IText) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ITextExtensions
Returns whether or not this text event is collapsible whitespace.
ITemplateEventExtensions - Class in nz.net.ultraq.thymeleaf.layoutdialect.models.extensions
Meta-programming extensions to the ITemplateEvent class.
ITemplateEventExtensions() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ITemplateEventExtensions
 
iterator(IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Used to make this class iterable as an event queue.
ITextExtensions - Class in nz.net.ultraq.thymeleaf.layoutdialect.models.extensions
Meta-programming extensions to the IText class.
ITextExtensions() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ITextExtensions
 

L

last(IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Returns the last event on the model.
LAYOUT_TITLE_KEY - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.TitlePatternProcessor
 
LayoutDialect - Class in nz.net.ultraq.thymeleaf.layoutdialect
A dialect for Thymeleaf that lets you build layouts and reusable templates in order to improve code reuse
LayoutDialect() - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.LayoutDialect
Constructor, configure the layout dialect.
LayoutDialect(SortingStrategy) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.LayoutDialect
Constructor, configure the layout dialect.
LayoutDialect(SortingStrategy, boolean) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.LayoutDialect
Constructor, configure the layout dialect.

M

merge(String, String) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclarationMerger
Merge th:with attributes so that names from the source value overwrite the same names in the target value.
merge(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.AttributeMerger
Merge the attributes of the source element with those of the target element.
merge(IModel, IModel) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.ElementMerger
Replace the content of the target element, with the content of the source element.
merge(IModel, IModel) - Method in interface nz.net.ultraq.thymeleaf.layoutdialect.models.ModelMerger
Merge the source model into the target model.
ModelBuilder - Class in nz.net.ultraq.thymeleaf.layoutdialect.models
Create Thymeleaf 3.0 models using a simplified syntax.
ModelBuilder(ITemplateContext) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.ModelBuilder
Constructor, create a new model builder.
ModelBuilder(IModelFactory, ElementDefinitions, TemplateMode) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.ModelBuilder
Constructor, create a new model builder.
ModelMerger - Interface in nz.net.ultraq.thymeleaf.layoutdialect.models
Merges template models by applying the source model to the target model, with the result being implementation-dependant.

N

next() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.ChildModelIterator
Returns the next immediate child model of this model.
next() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.EventIterator
 
nodeCompleted(Object, Object) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.ModelBuilder
Link a parent and child node.
nz.net.ultraq.thymeleaf.expressionprocessor - package nz.net.ultraq.thymeleaf.expressionprocessor
 
nz.net.ultraq.thymeleaf.layoutdialect - package nz.net.ultraq.thymeleaf.layoutdialect
 
nz.net.ultraq.thymeleaf.layoutdialect.context.extensions - package nz.net.ultraq.thymeleaf.layoutdialect.context.extensions
 
nz.net.ultraq.thymeleaf.layoutdialect.decorators - package nz.net.ultraq.thymeleaf.layoutdialect.decorators
 
nz.net.ultraq.thymeleaf.layoutdialect.decorators.html - package nz.net.ultraq.thymeleaf.layoutdialect.decorators.html
 
nz.net.ultraq.thymeleaf.layoutdialect.decorators.strategies - package nz.net.ultraq.thymeleaf.layoutdialect.decorators.strategies
 
nz.net.ultraq.thymeleaf.layoutdialect.decorators.xml - package nz.net.ultraq.thymeleaf.layoutdialect.decorators.xml
 
nz.net.ultraq.thymeleaf.layoutdialect.fragments - package nz.net.ultraq.thymeleaf.layoutdialect.fragments
 
nz.net.ultraq.thymeleaf.layoutdialect.fragments.extensions - package nz.net.ultraq.thymeleaf.layoutdialect.fragments.extensions
 
nz.net.ultraq.thymeleaf.layoutdialect.includes - package nz.net.ultraq.thymeleaf.layoutdialect.includes
 
nz.net.ultraq.thymeleaf.layoutdialect.models - package nz.net.ultraq.thymeleaf.layoutdialect.models
 
nz.net.ultraq.thymeleaf.layoutdialect.models.extensions - package nz.net.ultraq.thymeleaf.layoutdialect.models.extensions
 

P

parse(String) - Method in class nz.net.ultraq.thymeleaf.expressionprocessor.ExpressionProcessor
Parses an expression, returning the matching expression type.
parse(String) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclarationParser
Parse a variable declaration string, returning as many variable declaration objects as there are variable declarations.
parseFragmentExpression(String) - Method in class nz.net.ultraq.thymeleaf.expressionprocessor.ExpressionProcessor
Parses an expression under the assumption it is a fragment expression.
process(String) - Method in class nz.net.ultraq.thymeleaf.expressionprocessor.ExpressionProcessor
Parse and executes an expression, returning whatever the type of the expression result is.
processAsString(String) - Method in class nz.net.ultraq.thymeleaf.expressionprocessor.ExpressionProcessor
Parse and execute an expression, returning the result as a string.
PROCESSOR_COLLECT - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.CollectFragmentProcessor
Deprecated.
 
PROCESSOR_DEFINE - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.CollectFragmentProcessor
Deprecated.
 
PROCESSOR_NAME - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.DecorateProcessor
 
PROCESSOR_NAME - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.TitlePatternProcessor
 
PROCESSOR_NAME - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.FragmentProcessor
 
PROCESSOR_NAME - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.includes.IncludeProcessor
Deprecated.
 
PROCESSOR_NAME - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.includes.InsertProcessor
 
PROCESSOR_NAME - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.includes.ReplaceProcessor
 
PROCESSOR_PRECEDENCE - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.DecorateProcessor
 
PROCESSOR_PRECEDENCE - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.decorators.TitlePatternProcessor
 
PROCESSOR_PRECEDENCE - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.CollectFragmentProcessor
Deprecated.
 
PROCESSOR_PRECEDENCE - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.FragmentProcessor
 
PROCESSOR_PRECEDENCE - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.includes.IncludeProcessor
Deprecated.
 
PROCESSOR_PRECEDENCE - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.includes.InsertProcessor
 
PROCESSOR_PRECEDENCE - Static variable in class nz.net.ultraq.thymeleaf.layoutdialect.includes.ReplaceProcessor
 
putAt(IContext, String, Object) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.context.extensions.IContextExtensions
Enables use of the context[key] = value syntax over the context object, is a synonym for the setVariable method.

R

removeAllModels(IModel, Predicate<ITemplateEvent>) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Remove a model identified by an event matched by the given closure.
removeChildren(IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
If the model represents an element open to close tags, then this method removes all of the inner events.
removeFirst(IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Removes the first event on the model.
removeLast(IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Removes the last event on the model.
removeModel(IModel, int) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Removes a models-worth of events from the specified position.
replaceModel(IModel, int, IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Replaces the model at the specified index with the given model.
ReplaceProcessor - Class in nz.net.ultraq.thymeleaf.layoutdialect.includes
Similar to Thymeleaf's th:replace, but allows the passing of entire element fragments to the included template.
ReplaceProcessor(TemplateMode, String) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.includes.ReplaceProcessor
Constructor, set this processor to work on the 'replace' attribute.

S

setLocalFragmentCollection(IElementModelStructureHandler, ITemplateContext, Map<String, List<IModel>>) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.extensions.FragmentExtensions
 
setLocalFragmentCollection(IElementModelStructureHandler, ITemplateContext, Map<String, List<IModel>>, boolean) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.extensions.FragmentExtensions
Set a fragment cache to contain any existing fragments, plus the given new fragments, with the same scope as setting a local variable.
setParent(Object, Object) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.ModelBuilder
Does nothing.
sizeOfModelAt(IModel, int) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
If an opening element exists at the given position, this method will return the 'size' of that element (number of events from here to its matching closing tag).
SortingStrategy - Interface in nz.net.ultraq.thymeleaf.layoutdialect.decorators
Interface for controlling the sort order in which <head> elements from one source are placed into another.

T

TemplateModelFinder - Class in nz.net.ultraq.thymeleaf.layoutdialect.models
A simple API for retrieving (immutable template) models using Thymeleaf's template manager.
TemplateModelFinder(ITemplateContext) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.TemplateModelFinder
Constructor, set the template context we're working in.
TitlePatternProcessor - Class in nz.net.ultraq.thymeleaf.layoutdialect.decorators
Allows for greater control of the resulting <title> element by specifying a pattern with some special tokens.
TitlePatternProcessor(TemplateMode, String) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.decorators.TitlePatternProcessor
Constructor, sets this processor to work on the 'title-pattern' attribute.
toString() - Method in class nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclaration
Reconstructs the variable for use with th:with.
trim(IModel) - Static method in class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions
Removes whitespace events from the head and tail of the model's underlying event queue.

U

updateLocalVariables(FragmentExpression, IModel, IElementModelStructureHandler) - Method in class nz.net.ultraq.thymeleaf.layoutdialect.fragments.FragmentParameterVariableUpdater
Given a fragment expression, update the local variables of the element being processed.

V

VariableDeclaration - Class in nz.net.ultraq.thymeleaf.layoutdialect.models
Representation of a scoped variable declaration made through th:with attributes.
VariableDeclaration(Assignation) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclaration
Constructor, create an instance from a Thymeleaf assignation.
VariableDeclarationMerger - Class in nz.net.ultraq.thymeleaf.layoutdialect.models
Merges variable declarations in a th:with attribute processor, taking the declarations in the target and combining them with the declarations in the source, overriding any same-named declarations in the target.
VariableDeclarationMerger(IExpressionContext) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclarationMerger
Constructor, sets the processing context for the merger.
VariableDeclarationParser - Class in nz.net.ultraq.thymeleaf.layoutdialect.models
Parser for variable declaration strings, which are the expressions that are found withing th:with processors.
VariableDeclarationParser(IExpressionContext) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.models.VariableDeclarationParser
Constructor, sets the processing context for the parser.

X

XmlDocumentDecorator - Class in nz.net.ultraq.thymeleaf.layoutdialect.decorators.xml
A decorator made to work over an XML document.
XmlDocumentDecorator(ITemplateContext) - Constructor for class nz.net.ultraq.thymeleaf.layoutdialect.decorators.xml.XmlDocumentDecorator
Constructor, set up the document decorator context.
A B C D E F G H I L M N P R S T U V X 
All Classes All Packages