public interface IElementProcessor extends IProcessor
Base interface for all processors that execute on elements (tags).
The elements these processors execute on are defined by the matching element and
matching attribute, defined by getMatchingElementName()
and getMatchingAttributeName()
.
Element processors can match an element based on an element name, an attribute name, or both. But it is required that at least one option (element or attribute) be specified.
Element processors should not directly implement this interface, but instead implement one of
IElementTagProcessor
or IElementModelProcessor
.
IElementTagProcessor
,
IElementModelProcessor
,
MatchingElementName
,
MatchingAttributeName
Modifier and Type | Method and Description |
---|---|
MatchingAttributeName |
getMatchingAttributeName()
Returns the attribute name that would make this processor match (if any).
|
MatchingElementName |
getMatchingElementName()
Returns the element name that would make this processor match (if any).
|
getPrecedence, getTemplateMode
MatchingElementName getMatchingElementName()
Returns the element name that would make this processor match (if any).
MatchingAttributeName getMatchingAttributeName()
Returns the attribute name that would make this processor match (if any).
Copyright © 2016 The THYMELEAF team. All rights reserved.