public interface ICDATASectionStructureHandler
Structure handler class meant to be used by ICDATASectionProcessor implementations.
Structure handlers allow processors to instruct the engine to perform a series of actions that cannot be done directly from the processors themselves, usually because these actions are applied or have effects on scopes broader than the processed events themselves.
ICDATASectionProcessor| 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.
|
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.
content - the new contentvoid replaceWith(IModel model, boolean processable)
Instructs the engine to replace the current event with the specified model (a IModel).
model - the model to be used as a replacement.processable - whether the model should be considered processable or not.void removeCDATASection()
Instructs the engine to remove the entire event that is being processed.
Copyright © 2017 The THYMELEAF team. All rights reserved.