Allows for greater control of the resulting <title> element by
specifying a pattern with some special tokens. This can be used to extend
the decorator's title with the content's one, instead of simply overriding
it.
| Type | Name and description |
|---|---|
static String |
PROCESSOR_NAME_TITLEPATTERN |
static String |
RESULTING_TITLE |
static String |
TITLE_TYPE |
static String |
TITLE_TYPE_CONTENT |
static String |
TITLE_TYPE_DECORATOR |
int |
precedence |
| Constructor and description |
|---|
TitlePatternProcessor
()Constructor, sets this processor to work on the 'title-pattern' attribute. |
| Type | Name and description |
|---|---|
protected ProcessorResult |
processAttribute(Arguments arguments, Element element, String attributeName){@inheritDoc} |
| Methods inherited from class | Name |
|---|---|
class AbstractAttrProcessor |
getMatcher, compareTo, compareTo, process, getPrecedence, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class AbstractProcessor |
compareTo, compareTo, process, getPrecedence, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getMatcher |
Constructor, sets this processor to work on the 'title-pattern' attribute.
{@inheritDoc}
Groovy Documentation