Package org.thymeleaf.engine
Class ProcessingInstructionStructureHandler
- java.lang.Object
-
- org.thymeleaf.engine.ProcessingInstructionStructureHandler
-
- All Implemented Interfaces:
IProcessingInstructionStructureHandler
public final class ProcessingInstructionStructureHandler extends java.lang.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
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleanremoveProcessingInstruction(package private) booleanreplaceWithModel(package private) booleanreplaceWithModelProcessable(package private) IModelreplaceWithModelValue(package private) booleansetProcessingInstruction(package private) java.lang.StringsetProcessingInstructionContent(package private) java.lang.StringsetProcessingInstructionTarget
-
Constructor Summary
Constructors Constructor Description ProcessingInstructionStructureHandler()
-
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(java.lang.String target, java.lang.String content)Instructs the engine to set new values into the properties of the ProcessingInstruction event being processed.
-
-
-
Field Detail
-
setProcessingInstruction
boolean setProcessingInstruction
-
setProcessingInstructionTarget
java.lang.String setProcessingInstructionTarget
-
setProcessingInstructionContent
java.lang.String setProcessingInstructionContent
-
replaceWithModel
boolean replaceWithModel
-
replaceWithModelValue
IModel replaceWithModelValue
-
replaceWithModelProcessable
boolean replaceWithModelProcessable
-
removeProcessingInstruction
boolean removeProcessingInstruction
-
-
Method Detail
-
setProcessingInstruction
public void setProcessingInstruction(java.lang.String target, java.lang.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
-
-