Package org.thymeleaf.engine
Class CDATASectionStructureHandler
Object
org.thymeleaf.engine.CDATASectionStructureHandler
- All Implemented Interfaces:
ICDATASectionStructureHandler
public final class CDATASectionStructureHandler
extends Object
implements ICDATASectionStructureHandler
Structure handler implementation, internally used by the engine.
This class should not be directly used from outside the engine.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Method Summary
Modifier and TypeMethodDescriptionvoidInstructs the engine to remove the entire event that is being processed.voidreplaceWith(IModel model, boolean processable) Instructs the engine to replace the current event with the specified model (aIModel).voidreset()Resets all actions specified so far for the current processor execution.voidsetContent(CharSequence content) Instructs the engine to set a new content for this CDATA Section.
-
Method Details
-
setContent
Description copied from interface:ICDATASectionStructureHandlerInstructs the engine to set a new content for this CDATA Section.
- Specified by:
setContentin interfaceICDATASectionStructureHandler- Parameters:
content- the new content
-
replaceWith
Description copied from interface:ICDATASectionStructureHandlerInstructs the engine to replace the current event with the specified model (a
IModel).- Specified by:
replaceWithin interfaceICDATASectionStructureHandler- Parameters:
model- the model to be used as a replacement.processable- whether the model should be considered processable or not.
-
removeCDATASection
public void removeCDATASection()Description copied from interface:ICDATASectionStructureHandlerInstructs the engine to remove the entire event that is being processed.
- Specified by:
removeCDATASectionin interfaceICDATASectionStructureHandler
-
reset
public void reset()Description copied from interface:ICDATASectionStructureHandlerResets all actions specified so far for the current processor execution.
- Specified by:
resetin interfaceICDATASectionStructureHandler
-