org.thymeleaf.processor.tag
Class AbstractNoOpTagProcessor
Object
org.thymeleaf.processor.tag.AbstractTagProcessor
org.thymeleaf.processor.tag.AbstractNoOpTagProcessor
- All Implemented Interfaces:
- ITagProcessor
public abstract class AbstractNoOpTagProcessor
- extends AbstractTagProcessor
- Since:
- 1.0
- Author:
- Daniel Fernández
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNoOpTagProcessor
public AbstractNoOpTagProcessor()
getValueProcessorDependencies
public final Set<Class<? extends IValueProcessor>> getValueProcessorDependencies()
- Description copied from interface:
ITagProcessor
Return this processor's dependencies.
The dependencies are the set of value processors (IValueProcessor
objects) this tag processor needs for being executed. This has to be declared
for dialect validation purposes at configuration time.
- Specified by:
getValueProcessorDependencies
in interface ITagProcessor
- Overrides:
getValueProcessorDependencies
in class AbstractTagProcessor
- Returns:
- the set of value processor dependencies.
process
public final TagProcessResult process(Arguments arguments,
TemplateResolution templateResolution,
Document document,
Element element)
- Description copied from interface:
ITagProcessor
Execute this attribute processor.
This execution logic will receive as parameters the execution argument
(an Arguments
object), the result of resolving the processed template
by the Template Resolver (a TemplateResolution
object), the complete DOM node tree
of the template being processed (the Document
) and the DOM element representing
the tag currently being processed (Element
object).
- Parameters:
arguments
- the execution arguments, containing Template Engine configuration and
execution context.templateResolution
- the result of resolving the template by the Template Resolvers.document
- the DOM node tree (document) of the template being executed.element
- the DOM element representing the tag currently being processed.
- Returns:
- a
TagProcessResult
with the result of the execution.
Copyright © 2011 The THYMELEAF team. All Rights Reserved.