public class SortAttrProcessor
extends org.thymeleaf.processor.attr.AbstractAttrProcessor
<table th:each="product : ${products}">
...
<th pages:sort="name">Sort by name</th>
...
</table>
| Constructor and Description |
|---|
SortAttrProcessor(org.thymeleaf.processor.IAttributeNameProcessorMatcher matcher) |
SortAttrProcessor(String attributeName) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedence() |
protected org.thymeleaf.processor.ProcessorResult |
processAttribute(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName) |
void |
setDialect(PagesDialect dialect) |
doProcess, getMatcherpublic SortAttrProcessor(org.thymeleaf.processor.IAttributeNameProcessorMatcher matcher)
public SortAttrProcessor(String attributeName)
public void setDialect(PagesDialect dialect)
public int getPrecedence()
getPrecedence in class org.thymeleaf.processor.AbstractProcessorprotected org.thymeleaf.processor.ProcessorResult processAttribute(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
processAttribute in class org.thymeleaf.processor.attr.AbstractAttrProcessorCopyright © 2012. All Rights Reserved.