Package org.thymeleaf.engine
Class CDATASectionStructureHandler
- java.lang.Object
-
- org.thymeleaf.engine.CDATASectionStructureHandler
-
- All Implemented Interfaces:
ICDATASectionStructureHandler
public final class CDATASectionStructureHandler extends java.lang.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
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleanremoveCDATASection(package private) booleanreplaceWithModel(package private) booleanreplaceWithModelProcessable(package private) IModelreplaceWithModelValue(package private) booleansetContent(package private) java.lang.CharSequencesetContentValue
-
Constructor Summary
Constructors Constructor Description CDATASectionStructureHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidremoveCDATASection()Instructs 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(java.lang.CharSequence content)Instructs the engine to set a new content for this CDATA Section.
-
-
-
Field Detail
-
setContent
boolean setContent
-
setContentValue
java.lang.CharSequence setContentValue
-
replaceWithModel
boolean replaceWithModel
-
replaceWithModelValue
IModel replaceWithModelValue
-
replaceWithModelProcessable
boolean replaceWithModelProcessable
-
removeCDATASection
boolean removeCDATASection
-
-
Method Detail
-
setContent
public void setContent(java.lang.CharSequence content)
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
public void replaceWith(IModel model, boolean processable)
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
-
-