Package org.thymeleaf.engine
Class ModelBuilderTemplateHandler
- Object
-
- org.thymeleaf.engine.AbstractTemplateHandler
-
- org.thymeleaf.engine.ModelBuilderTemplateHandler
-
- All Implemented Interfaces:
ITemplateHandler
public final class ModelBuilderTemplateHandler extends AbstractTemplateHandler
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Constructor Summary
Constructors Constructor Description ModelBuilderTemplateHandler(IEngineConfiguration configuration, TemplateData templateData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateModel
getModel()
void
handleCDATASection(ICDATASection cdataSection)
void
handleCloseElement(ICloseElementTag closeElementTag)
void
handleComment(IComment comment)
void
handleDocType(IDocType docType)
void
handleOpenElement(IOpenElementTag openElementTag)
void
handleProcessingInstruction(IProcessingInstruction processingInstruction)
void
handleStandaloneElement(IStandaloneElementTag standaloneElementTag)
void
handleTemplateEnd(ITemplateEnd templateEnd)
void
handleTemplateStart(ITemplateStart templateStart)
void
handleText(IText text)
void
handleXMLDeclaration(IXMLDeclaration xmlDeclaration)
-
Methods inherited from class org.thymeleaf.engine.AbstractTemplateHandler
getContext, getNext, setContext, setNext
-
-
-
-
Constructor Detail
-
ModelBuilderTemplateHandler
public ModelBuilderTemplateHandler(IEngineConfiguration configuration, TemplateData templateData)
-
-
Method Detail
-
getModel
public TemplateModel getModel()
-
handleTemplateStart
public void handleTemplateStart(ITemplateStart templateStart)
- Specified by:
handleTemplateStart
in interfaceITemplateHandler
- Overrides:
handleTemplateStart
in classAbstractTemplateHandler
-
handleTemplateEnd
public void handleTemplateEnd(ITemplateEnd templateEnd)
- Specified by:
handleTemplateEnd
in interfaceITemplateHandler
- Overrides:
handleTemplateEnd
in classAbstractTemplateHandler
-
handleText
public void handleText(IText text)
- Specified by:
handleText
in interfaceITemplateHandler
- Overrides:
handleText
in classAbstractTemplateHandler
-
handleComment
public void handleComment(IComment comment)
- Specified by:
handleComment
in interfaceITemplateHandler
- Overrides:
handleComment
in classAbstractTemplateHandler
-
handleCDATASection
public void handleCDATASection(ICDATASection cdataSection)
- Specified by:
handleCDATASection
in interfaceITemplateHandler
- Overrides:
handleCDATASection
in classAbstractTemplateHandler
-
handleStandaloneElement
public void handleStandaloneElement(IStandaloneElementTag standaloneElementTag)
- Specified by:
handleStandaloneElement
in interfaceITemplateHandler
- Overrides:
handleStandaloneElement
in classAbstractTemplateHandler
-
handleOpenElement
public void handleOpenElement(IOpenElementTag openElementTag)
- Specified by:
handleOpenElement
in interfaceITemplateHandler
- Overrides:
handleOpenElement
in classAbstractTemplateHandler
-
handleCloseElement
public void handleCloseElement(ICloseElementTag closeElementTag)
- Specified by:
handleCloseElement
in interfaceITemplateHandler
- Overrides:
handleCloseElement
in classAbstractTemplateHandler
-
handleDocType
public void handleDocType(IDocType docType)
- Specified by:
handleDocType
in interfaceITemplateHandler
- Overrides:
handleDocType
in classAbstractTemplateHandler
-
handleXMLDeclaration
public void handleXMLDeclaration(IXMLDeclaration xmlDeclaration)
- Specified by:
handleXMLDeclaration
in interfaceITemplateHandler
- Overrides:
handleXMLDeclaration
in classAbstractTemplateHandler
-
handleProcessingInstruction
public void handleProcessingInstruction(IProcessingInstruction processingInstruction)
- Specified by:
handleProcessingInstruction
in interfaceITemplateHandler
- Overrides:
handleProcessingInstruction
in classAbstractTemplateHandler
-
-