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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
removeCDATASection()
Instructs the engine to remove the entire event that is being processed.void
replaceWith(IModel model, boolean processable)
Instructs the engine to replace the current event with the specified model (aIModel
).void
reset()
Resets all actions specified so far for the current processor execution.void
setContent(CharSequence content)
Instructs the engine to set a new content for this CDATA Section.
-
-
-
Method Detail
-
setContent
public void setContent(CharSequence content)
Description copied from interface:ICDATASectionStructureHandler
Instructs the engine to set a new content for this CDATA Section.
- Specified by:
setContent
in interfaceICDATASectionStructureHandler
- Parameters:
content
- the new content
-
replaceWith
public void replaceWith(IModel model, boolean processable)
Description copied from interface:ICDATASectionStructureHandler
Instructs the engine to replace the current event with the specified model (a
IModel
).- Specified by:
replaceWith
in 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:ICDATASectionStructureHandler
Instructs the engine to remove the entire event that is being processed.
- Specified by:
removeCDATASection
in interfaceICDATASectionStructureHandler
-
reset
public void reset()
Description copied from interface:ICDATASectionStructureHandler
Resets all actions specified so far for the current processor execution.
- Specified by:
reset
in interfaceICDATASectionStructureHandler
-
-