public class TrElProcessor extends AbstractElProcessor
Element processor applied to the tr HTML tag. Whenever Thymeleaf meets a tr tag, a HtmlRow is added to the current table. So each td tag will be able to update it.
This processor is only used for the export feature which is based on the HtmlTable bean.
Constructor and Description |
---|
TrElProcessor(org.thymeleaf.processor.IElementNameProcessorMatcher matcher) |
Modifier and Type | Method and Description |
---|---|
protected org.thymeleaf.processor.ProcessorResult |
doProcessElement(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
HtmlTable htmlTable)
Actually performs the processing of the element.
|
int |
getPrecedence() |
processElement
doProcess, getMatcher
public TrElProcessor(org.thymeleaf.processor.IElementNameProcessorMatcher matcher)
public int getPrecedence()
getPrecedence
in class AbstractElProcessor
protected org.thymeleaf.processor.ProcessorResult doProcessElement(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, HtmlTable htmlTable)
AbstractElProcessor
Actually performs the processing of the element.
doProcessElement
in class AbstractElProcessor
arguments
- Thymeleaf arguments.element
- Element to process.request
- The current HttpServletRequest
.response
- The current HttpServletResponse
.htmlTable
- The HtmlTable
which the configuration will be applied
on.Copyright © 2013–2015 Dandelion Project. All rights reserved.