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.
Modifier and Type | Method and 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 (a
IModel ). |
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.
|
public void setContent(CharSequence content)
ICDATASectionStructureHandler
Instructs the engine to set a new content for this CDATA Section.
setContent
in interface ICDATASectionStructureHandler
content
- the new contentpublic void replaceWith(IModel model, boolean processable)
ICDATASectionStructureHandler
Instructs the engine to replace the current event with the specified model (a IModel
).
replaceWith
in interface ICDATASectionStructureHandler
model
- the model to be used as a replacement.processable
- whether the model should be considered processable or not.public void removeCDATASection()
ICDATASectionStructureHandler
Instructs the engine to remove the entire event that is being processed.
removeCDATASection
in interface ICDATASectionStructureHandler
public void reset()
ICDATASectionStructureHandler
Resets all actions specified so far for the current processor execution.
reset
in interface ICDATASectionStructureHandler
Copyright © 2017 The THYMELEAF team. All rights reserved.