Class Template
java.lang.Object
org.apache.struts2.components.template.Template
- All Implemented Interfaces:
Cloneable
A template is used as a model for rendering output. This object contains basic common template information
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Template
Constructor.- Parameters:
dir
- base folder where the template is stored.theme
- the theme of the templatename
- the name of the template.
-
-
Method Details
-
getDir
-
getTheme
-
getName
-
getPossibleTemplates
-
toString
Constructs a string in the format/dir/theme/name
. -
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
equals
-
hashCode
public int hashCode()
-