Package org.thymeleaf.templateparser
Interface ITemplateParser
-
- All Known Implementing Classes:
AbstractMarkupTemplateParser
,AbstractTextTemplateParser
,CSSTemplateParser
,HTMLTemplateParser
,JavaScriptTemplateParser
,RawTemplateParser
,TextTemplateParser
,XMLTemplateParser
public interface ITemplateParser
Interface to be implemented by al the parsers used for parsing templates at a
TemplateEngine
.Implementations of this interface should be thread-safe.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
parseStandalone(IEngineConfiguration configuration, String ownerTemplate, String template, Set<String> templateSelectors, ITemplateResource resource, TemplateMode templateMode, boolean useDecoupledLogic, ITemplateHandler handler)
void
parseString(IEngineConfiguration configuration, String ownerTemplate, String template, int lineOffset, int colOffset, TemplateMode templateMode, ITemplateHandler handler)
-
-
-
Method Detail
-
parseStandalone
void parseStandalone(IEngineConfiguration configuration, String ownerTemplate, String template, Set<String> templateSelectors, ITemplateResource resource, TemplateMode templateMode, boolean useDecoupledLogic, ITemplateHandler handler)
-
parseString
void parseString(IEngineConfiguration configuration, String ownerTemplate, String template, int lineOffset, int colOffset, TemplateMode templateMode, ITemplateHandler handler)
-
-