Package org.thymeleaf.engine
Class OutputTemplateHandler
- Object
-
- org.thymeleaf.engine.AbstractTemplateHandler
-
- org.thymeleaf.engine.OutputTemplateHandler
-
- All Implemented Interfaces:
ITemplateHandler
public final class OutputTemplateHandler extends AbstractTemplateHandler
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Constructor Summary
Constructors Constructor Description OutputTemplateHandler(Writer writer)
Creates a new instance of this handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
handleText(IText text)
void
handleXMLDeclaration(IXMLDeclaration xmlDeclaration)
-
Methods inherited from class org.thymeleaf.engine.AbstractTemplateHandler
getContext, getNext, handleTemplateEnd, handleTemplateStart, setContext, setNext
-
-
-
-
Constructor Detail
-
OutputTemplateHandler
public OutputTemplateHandler(Writer writer)
Creates a new instance of this handler.
- Parameters:
writer
- the writer to which output will be written.
-
-
Method Detail
-
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
-
-