public class ExportAttrProcessor
extends org.thymeleaf.processor.attr.AbstractAttrProcessor
<tr th:each="product : ${products}" pages:excel="name, category.name, stock, price">
Example usage with i18n keys:
<tr th:each="product : ${products}" pages:pdf="name:name, category.name:category, formattedPrice:total">
| Constructor and Description |
|---|
ExportAttrProcessor(org.thymeleaf.processor.IAttributeNameProcessorMatcher matcher) |
ExportAttrProcessor(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) |
void |
setFormat(String format) |
doProcess, getMatcherpublic ExportAttrProcessor(org.thymeleaf.processor.IAttributeNameProcessorMatcher matcher)
public ExportAttrProcessor(String attributeName)
public void setDialect(PagesDialect dialect)
public void setFormat(String format)
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.