class TitleProcessor extends AbstractAttributeTagProcessor
A processor for the experimental feature of using standard Thymeleaf
expression syntax when creating the <title> element, as opposed to
the special syntax required of layout:title-pattern.
| Type | Name and description |
|---|---|
static String |
CONTENT_TITLE_KEY |
static String |
LAYOUT_TITLE_KEY |
static String |
PROCESSOR_NAME |
static int |
PROCESSOR_PRECEDENCE |
| Constructor and description |
|---|
TitleProcessor(TemplateMode templateMode, String dialectPrefix)Constructor, sets this processor to work on the 'title' attribute. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
doProcess(ITemplateContext context, IProcessableElementTag tag, AttributeName attributeName, String attributeValue, IElementTagStructureHandler structureHandler)Process the layout:title directive, replaces the title text using
values extracted from the layout and content templates and emitted with
standard Thymeleaf expression syntax. |
| Methods inherited from class | Name |
|---|---|
class AbstractAttributeTagProcessor |
equals, getClass, getMatchingAttributeName, getMatchingElementName, getPrecedence, getTemplateMode, hashCode, notify, notifyAll, process, toString, wait, wait, wait |
Constructor, sets this processor to work on the 'title' attribute.
Process the layout:title directive, replaces the title text using
values extracted from the layout and content templates and emitted with
standard Thymeleaf expression syntax.
Groovy Documentation