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.
Modifier and Type | Method and Description |
---|---|
void |
removeDocType()
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 |
setDocType(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.
|
public void setDocType(String keyword, String elementName, String publicId, String systemId, String internalSubset)
IDocTypeStructureHandler
Instructs the engine to set new values into the properties of the DocType event being processed.
setDocType
in interface IDocTypeStructureHandler
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)public void replaceWith(IModel model, boolean processable)
IDocTypeStructureHandler
Instructs the engine to replace the current event with the specified model (a IModel
).
replaceWith
in interface IDocTypeStructureHandler
model
- the model to be used as a replacement.processable
- whether the model should be considered processable or not.public void removeDocType()
IDocTypeStructureHandler
Instructs the engine to remove the entire event that is being processed.
removeDocType
in interface IDocTypeStructureHandler
public void reset()
IDocTypeStructureHandler
Resets all actions specified so far for the current processor execution.
reset
in interface IDocTypeStructureHandler
Copyright © 2016 The THYMELEAF team. All rights reserved.