|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.thymeleaf.context.AbstractContextExecutionInfo
public abstract class AbstractContextExecutionInfo
Abstract class for IContextExecutionInfo
implementations, providing some of the
features required to implement this interface.
Constructor Summary | |
---|---|
protected |
AbstractContextExecutionInfo(String templateName,
java.util.Calendar now)
|
Method Summary | |
---|---|
java.util.Calendar |
getNow()
Returns the current date and time (from the moment of template execution). |
String |
getTemplateName()
Returns the template name. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractContextExecutionInfo(String templateName, java.util.Calendar now)
Method Detail |
---|
public String getTemplateName()
Returns the template name.
Note that the same template can be resolved with different names due to
aliases, links, etc. This template name refers to the one used to call
the TemplateEngine.process(String, IContext)
method.
getTemplateName
in interface IContextExecutionInfo
public java.util.Calendar getNow()
Returns the current date and time (from the moment of template execution).
getNow
in interface IContextExecutionInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |