public class DivConfTypeAttrProcessor
extends org.thymeleaf.processor.attr.AbstractAttrProcessor
Attribute processor applied to the HTML div
tag with the
dt:confType
attribute.
The div
targeted by this processor fill the configuration map
initialized in the DivConfAttrProcessor
with one (or more) of the
following configurations:
Callback
, using dt:confType="callback"
ExportConf
), using
dt:confType="export"
ExtraJs
, using dt:confType="extrajs"
dt:confType="option"
dt:confType="extrahtml"
Constructor and Description |
---|
DivConfTypeAttrProcessor(org.thymeleaf.processor.IAttributeNameProcessorMatcher matcher) |
Modifier and Type | Method and Description |
---|---|
int |
getPrecedence() |
String |
getStringValue(org.thymeleaf.dom.Element element,
String attribute) |
boolean |
hasAttribute(org.thymeleaf.dom.Element element,
String attribute) |
protected org.thymeleaf.processor.ProcessorResult |
processAttribute(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName) |
doProcess, getMatcher
public DivConfTypeAttrProcessor(org.thymeleaf.processor.IAttributeNameProcessorMatcher matcher)
public int getPrecedence()
getPrecedence
in class org.thymeleaf.processor.AbstractProcessor
protected org.thymeleaf.processor.ProcessorResult processAttribute(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, String attributeName)
processAttribute
in class org.thymeleaf.processor.attr.AbstractAttrProcessor
public boolean hasAttribute(org.thymeleaf.dom.Element element, String attribute)
Copyright © 2013–2015 Dandelion Project. All rights reserved.