Package org.thymeleaf.engine
Class DocTypeStructureHandler
java.lang.Object
org.thymeleaf.engine.DocTypeStructureHandler
- All Implemented Interfaces:
IDocTypeStructureHandler
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInstructs 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.
-
Field Details
-
setDocType
boolean setDocType -
setDocTypeKeyword
String setDocTypeKeyword -
setDocTypeElementName
String setDocTypeElementName -
setDocTypePublicId
String setDocTypePublicId -
setDocTypeSystemId
String setDocTypeSystemId -
setDocTypeInternalSubset
String setDocTypeInternalSubset -
replaceWithModel
boolean replaceWithModel -
replaceWithModelValue
IModel replaceWithModelValue -
replaceWithModelProcessable
boolean replaceWithModelProcessable -
removeDocType
boolean removeDocType
-
-
Constructor Details
-
DocTypeStructureHandler
DocTypeStructureHandler()
-
-
Method Details
-
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
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
-