public final class ProcessorTemplateHandler extends AbstractTemplateHandler
Constructor and Description |
---|
ProcessorTemplateHandler()
Creates a new instance of this handler.
|
Modifier and Type | Method and Description |
---|---|
void |
handleCDATASection(ICDATASection icdataSection) |
void |
handleCloseElement(ICloseElementTag icloseElementTag) |
void |
handleComment(IComment icomment) |
void |
handleDocType(IDocType idocType) |
void |
handleOpenElement(IOpenElementTag iopenElementTag) |
void |
handleProcessingInstruction(IProcessingInstruction iprocessingInstruction) |
void |
handleStandaloneElement(IStandaloneElementTag istandaloneElementTag) |
void |
handleTemplateEnd(ITemplateEnd itemplateEnd) |
void |
handleTemplateStart(ITemplateStart itemplateStart) |
void |
handleText(IText itext) |
void |
handleXMLDeclaration(IXMLDeclaration ixmlDeclaration) |
void |
setProcessingContext(ITemplateProcessingContext processingContext)
Set the processing context to be used, including template name, context, and also the
engine configuration.
|
getNext, getProcessingContext, setNext
public ProcessorTemplateHandler()
Creates a new instance of this handler.
public void setProcessingContext(ITemplateProcessingContext processingContext)
AbstractTemplateHandler
Set the processing context to be used, including template name, context, and also the engine configuration.
This method is called always before starting the parsing and processing of a template.
setProcessingContext
in interface ITemplateHandler
setProcessingContext
in class AbstractTemplateHandler
processingContext
- the processing context.public void handleTemplateStart(ITemplateStart itemplateStart)
handleTemplateStart
in interface ITemplateHandler
handleTemplateStart
in class AbstractTemplateHandler
public void handleTemplateEnd(ITemplateEnd itemplateEnd)
handleTemplateEnd
in interface ITemplateHandler
handleTemplateEnd
in class AbstractTemplateHandler
public void handleText(IText itext)
handleText
in interface ITemplateHandler
handleText
in class AbstractTemplateHandler
public void handleComment(IComment icomment)
handleComment
in interface ITemplateHandler
handleComment
in class AbstractTemplateHandler
public void handleCDATASection(ICDATASection icdataSection)
handleCDATASection
in interface ITemplateHandler
handleCDATASection
in class AbstractTemplateHandler
public void handleStandaloneElement(IStandaloneElementTag istandaloneElementTag)
handleStandaloneElement
in interface ITemplateHandler
handleStandaloneElement
in class AbstractTemplateHandler
public void handleOpenElement(IOpenElementTag iopenElementTag)
handleOpenElement
in interface ITemplateHandler
handleOpenElement
in class AbstractTemplateHandler
public void handleCloseElement(ICloseElementTag icloseElementTag)
handleCloseElement
in interface ITemplateHandler
handleCloseElement
in class AbstractTemplateHandler
public void handleDocType(IDocType idocType)
handleDocType
in interface ITemplateHandler
handleDocType
in class AbstractTemplateHandler
public void handleXMLDeclaration(IXMLDeclaration ixmlDeclaration)
handleXMLDeclaration
in interface ITemplateHandler
handleXMLDeclaration
in class AbstractTemplateHandler
public void handleProcessingInstruction(IProcessingInstruction iprocessingInstruction)
handleProcessingInstruction
in interface ITemplateHandler
handleProcessingInstruction
in class AbstractTemplateHandler
Copyright © 2015 The THYMELEAF team. All rights reserved.