Package org.thymeleaf.engine
Class DocTypeStructureHandler
- Object
-
- org.thymeleaf.engine.DocTypeStructureHandler
-
- All Implemented Interfaces:
IDocTypeStructureHandler
public final class DocTypeStructureHandler extends Object implements IDocTypeStructureHandler
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 voidremoveDocType()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.voidsetDocType(String keyword, String elementName, String publicId, String systemId, String internalSubset)Instructs the engine to set new values into the properties of the DocType event being processed.
-
-
-
Method Detail
-
setDocType
public void setDocType(String keyword, String elementName, String publicId, String systemId, String internalSubset)
Description copied from interface:IDocTypeStructureHandlerInstructs the engine to set new values into the properties of the DocType event being processed.
- Specified by:
setDocTypein interfaceIDocTypeStructureHandler- Parameters:
keyword- the new keyword valueelementName- the new elementName valuepublicId- the new PUBLIC ID (might be null)systemId- the new SYSTEM ID (might be null)internalSubset- the new internal subset (might be null)
-
replaceWith
public void replaceWith(IModel model, boolean processable)
Description copied from interface:IDocTypeStructureHandlerInstructs the engine to replace the current event with the specified model (a
IModel).- Specified by:
replaceWithin interfaceIDocTypeStructureHandler- Parameters:
model- the model to be used as a replacement.processable- whether the model should be considered processable or not.
-
removeDocType
public void removeDocType()
Description copied from interface:IDocTypeStructureHandlerInstructs the engine to remove the entire event that is being processed.
- Specified by:
removeDocTypein interfaceIDocTypeStructureHandler
-
reset
public void reset()
Description copied from interface:IDocTypeStructureHandlerResets all actions specified so far for the current processor execution.
- Specified by:
resetin interfaceIDocTypeStructureHandler
-
-