public final class OutputTemplateHandler extends AbstractTemplateHandler
Constructor and Description |
---|
OutputTemplateHandler(Writer writer)
Creates a new instance of this handler.
|
Modifier and Type | Method and 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) |
getContext, getNext, handleTemplateEnd, handleTemplateStart, setContext, setNext
public OutputTemplateHandler(Writer writer)
Creates a new instance of this handler.
writer
- the writer to which output will be written.public void handleText(IText text)
handleText
in interface ITemplateHandler
handleText
in class AbstractTemplateHandler
public void handleComment(IComment comment)
handleComment
in interface ITemplateHandler
handleComment
in class AbstractTemplateHandler
public void handleCDATASection(ICDATASection cdataSection)
handleCDATASection
in interface ITemplateHandler
handleCDATASection
in class AbstractTemplateHandler
public void handleStandaloneElement(IStandaloneElementTag standaloneElementTag)
handleStandaloneElement
in interface ITemplateHandler
handleStandaloneElement
in class AbstractTemplateHandler
public void handleOpenElement(IOpenElementTag openElementTag)
handleOpenElement
in interface ITemplateHandler
handleOpenElement
in class AbstractTemplateHandler
public void handleCloseElement(ICloseElementTag closeElementTag)
handleCloseElement
in interface ITemplateHandler
handleCloseElement
in class AbstractTemplateHandler
public void handleDocType(IDocType docType)
handleDocType
in interface ITemplateHandler
handleDocType
in class AbstractTemplateHandler
public void handleXMLDeclaration(IXMLDeclaration xmlDeclaration)
handleXMLDeclaration
in interface ITemplateHandler
handleXMLDeclaration
in class AbstractTemplateHandler
public void handleProcessingInstruction(IProcessingInstruction processingInstruction)
handleProcessingInstruction
in interface ITemplateHandler
handleProcessingInstruction
in class AbstractTemplateHandler
Copyright © 2017 The THYMELEAF team. All rights reserved.