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.
| Modifier and Type | Method and 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 (a  
IModel). | 
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. 
 | 
public void setProcessingInstruction(String target, String content)
IProcessingInstructionStructureHandlerInstructs the engine to set new values into the properties of the ProcessingInstruction event being processed.
setProcessingInstruction in interface IProcessingInstructionStructureHandlertarget - the new target valuecontent - the new content valuepublic void replaceWith(IModel model, boolean processable)
IProcessingInstructionStructureHandler
   Instructs the engine to replace the current event with the specified model (a IModel).
 
replaceWith in interface IProcessingInstructionStructureHandlermodel - the model to be used as a replacement.processable - whether the model should be considered processable or not.public void removeProcessingInstruction()
IProcessingInstructionStructureHandlerInstructs the engine to remove the entire event that is being processed.
removeProcessingInstruction in interface IProcessingInstructionStructureHandlerpublic void reset()
IProcessingInstructionStructureHandlerResets all actions specified so far for the current processor execution.
reset in interface IProcessingInstructionStructureHandlerCopyright © 2016 The THYMELEAF team. All rights reserved.