Package org.thymeleaf.engine
Class ProcessorTemplateHandler
Object
org.thymeleaf.engine.ProcessorTemplateHandler
- All Implemented Interfaces:
ITemplateHandler
Basic, most fundamental processor in the chain of ITemplateHandlers applied to a template for
processing it.
This handler actually executes all applicable IProcessors to each of the
template events, resulting in the processing of the template.
All pre-processors apply before this handler, and all post-processors apply afterwards.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleCDATASection(ICDATASection icdataSection) voidhandleCloseElement(ICloseElementTag icloseElementTag) voidhandleComment(IComment icomment) voidhandleDocType(IDocType idocType) voidhandleOpenElement(IOpenElementTag iopenElementTag) voidHandle any processing that might have been left pending during its execution because of the process having been stopped during throttling.voidhandleProcessingInstruction(IProcessingInstruction iprocessingInstruction) voidhandleStandaloneElement(IStandaloneElementTag istandaloneElementTag) voidhandleTemplateEnd(ITemplateEnd itemplateEnd) voidhandleTemplateStart(ITemplateStart itemplateStart) voidhandleText(IText itext) voidhandleXMLDeclaration(IXMLDeclaration ixmlDeclaration) voidsetContext(ITemplateContext context) voidsetFlowController(org.thymeleaf.engine.TemplateFlowController flowController) voidsetNext(ITemplateHandler next)
-
Constructor Details
-
ProcessorTemplateHandler
public ProcessorTemplateHandler()Creates a new instance of this handler.
-
-
Method Details
-
setNext
- Specified by:
setNextin interfaceITemplateHandler
-
setContext
- Specified by:
setContextin interfaceITemplateHandler
-
setFlowController
public void setFlowController(org.thymeleaf.engine.TemplateFlowController flowController) -
handleTemplateStart
- Specified by:
handleTemplateStartin interfaceITemplateHandler
-
handleTemplateEnd
- Specified by:
handleTemplateEndin interfaceITemplateHandler
-
handleText
- Specified by:
handleTextin interfaceITemplateHandler
-
handleComment
- Specified by:
handleCommentin interfaceITemplateHandler
-
handleCDATASection
- Specified by:
handleCDATASectionin interfaceITemplateHandler
-
handleStandaloneElement
- Specified by:
handleStandaloneElementin interfaceITemplateHandler
-
handleOpenElement
- Specified by:
handleOpenElementin interfaceITemplateHandler
-
handleCloseElement
- Specified by:
handleCloseElementin interfaceITemplateHandler
-
handleDocType
- Specified by:
handleDocTypein interfaceITemplateHandler
-
handleXMLDeclaration
- Specified by:
handleXMLDeclarationin interfaceITemplateHandler
-
handleProcessingInstruction
- Specified by:
handleProcessingInstructionin interfaceITemplateHandler
-
handlePending
public void handlePending()Handle any processing that might have been left pending during its execution because of the process having been stopped during throttling.
This method is only for internal use, and will be called by the
IThrottledTemplateProcessorimplementations before actually letting any new events flow in from the parser or cache.
-