public interface IProcessor
Basic interface to be implemented by all processors provided by processor dialects (implementations of
IProcessorDialect
).
Note this is a base interface without much meaning of its own. Instead, processors should implement one or several of the following sub-interfaces:
IElementTagProcessor
execute on open/standalone
tag events only (no processors can be applied to close tags), and have no (direct) access to the element
body.IElementModelProcessor
execute on complete
elements, including their bodies, in the form of IModel
objects.ITemplateBoundariesProcessor
execute on template start (ITemplateStart
) and/or template end
(ITemplateEnd
) events.ITextProcessor
execute on IText
events.ICommentProcessor
execute on IComment
events.ICDATASectionProcessor
execute on
ICDATASection
events.IDocTypeProcessor
execute on IDocType
events.IXMLDeclarationProcessor
execute on
IXMLDeclaration
events.IProcessingInstructionProcessor
execute on
IProcessingInstruction
events.Note a class with this name existed since 2.0.0, but it was completely reimplemented in Thymeleaf 3.0
IElementProcessor
,
IElementTagProcessor
,
IElementModelProcessor
,
ICDATASectionProcessor
,
ICommentProcessor
,
IDocTypeProcessor
,
IProcessingInstructionProcessor
,
ITemplateBoundariesProcessor
,
ITextProcessor
,
IXMLDeclarationProcessor
Modifier and Type | Method and Description |
---|---|
int |
getPrecedence() |
TemplateMode |
getTemplateMode() |
TemplateMode getTemplateMode()
int getPrecedence()
Copyright © 2016 The THYMELEAF team. All rights reserved.