Package org.thymeleaf.cache
Class TemplateCacheKey
- Object
-
- org.thymeleaf.cache.TemplateCacheKey
-
- All Implemented Interfaces:
Serializable
public final class TemplateCacheKey extends Object implements Serializable
This class models objects used as keys in the Template Cache.
Objects of this class should only be created from inside the engine.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemplateCacheKey(String ownerTemplate, String template, Set<String> templateSelectors, int lineOffset, int colOffset, TemplateMode templateMode, Map<String,Object> templateResolutionAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getColOffset()
int
getLineOffset()
String
getOwnerTemplate()
String
getTemplate()
TemplateMode
getTemplateMode()
Map<String,Object>
getTemplateResolutionAttributes()
Set<String>
getTemplateSelectors()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getOwnerTemplate
public String getOwnerTemplate()
-
getTemplate
public String getTemplate()
-
getLineOffset
public int getLineOffset()
-
getColOffset
public int getColOffset()
-
getTemplateMode
public TemplateMode getTemplateMode()
-
-