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 voidremoveProcessingInstruction()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.voidsetProcessingInstruction(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:IProcessingInstructionStructureHandlerInstructs the engine to set new values into the properties of the ProcessingInstruction event being processed.
- Specified by:
setProcessingInstructionin interfaceIProcessingInstructionStructureHandler- Parameters:
target- the new target valuecontent- the new content value
-
replaceWith
public void replaceWith(IModel model, boolean processable)
Description copied from interface:IProcessingInstructionStructureHandlerInstructs the engine to replace the current event with the specified model (a
IModel).- Specified by:
replaceWithin 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:IProcessingInstructionStructureHandlerInstructs the engine to remove the entire event that is being processed.
- Specified by:
removeProcessingInstructionin interfaceIProcessingInstructionStructureHandler
-
reset
public void reset()
Description copied from interface:IProcessingInstructionStructureHandlerResets all actions specified so far for the current processor execution.
- Specified by:
resetin interfaceIProcessingInstructionStructureHandler
-
-