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,
PagesDialect dialect,
String format) |
| 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) |
doProcess, getMatcherpublic ExportAttrProcessor(org.thymeleaf.processor.IAttributeNameProcessorMatcher matcher)
public ExportAttrProcessor(String attributeName, PagesDialect dialect, 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 © 2013. All rights reserved.