Package org.thymeleaf.engine
Class ProcessingInstructionStructureHandler
- Object
-
- org.thymeleaf.engine.ProcessingInstructionStructureHandler
-
- All Implemented Interfaces:
IProcessingInstructionStructureHandler
public final class ProcessingInstructionStructureHandler extends Object implements IProcessingInstructionStructureHandler
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
removeProcessingInstruction()
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
setProcessingInstruction(String target, String content)
Instructs the engine to set new values into the properties of the ProcessingInstruction event being processed.
-
-
-
Method Detail
-
setProcessingInstruction
public void setProcessingInstruction(String target, String content)
Description copied from interface:IProcessingInstructionStructureHandler
Instructs the engine to set new values into the properties of the ProcessingInstruction event being processed.
- Specified by:
setProcessingInstruction
in interfaceIProcessingInstructionStructureHandler
- Parameters:
target
- the new target valuecontent
- the new content value
-
replaceWith
public void replaceWith(IModel model, boolean processable)
Description copied from interface:IProcessingInstructionStructureHandler
Instructs the engine to replace the current event with the specified model (a
IModel
).- Specified by:
replaceWith
in interfaceIProcessingInstructionStructureHandler
- Parameters:
model
- the model to be used as a replacement.processable
- whether the model should be considered processable or not.
-
removeProcessingInstruction
public void removeProcessingInstruction()
Description copied from interface:IProcessingInstructionStructureHandler
Instructs the engine to remove the entire event that is being processed.
- Specified by:
removeProcessingInstruction
in interfaceIProcessingInstructionStructureHandler
-
reset
public void reset()
Description copied from interface:IProcessingInstructionStructureHandler
Resets all actions specified so far for the current processor execution.
- Specified by:
reset
in interfaceIProcessingInstructionStructureHandler
-
-