A TemplateRepository allows templates to be looked up by name. If no template can be found for a given name, a default template (ria.template.DefaultTemplate) will be returned.
Available templates are ria.template.CustomHtmlTemplate and ria.template.DefaultTemplate
Method Attributes | Method Name and Description |
---|---|
getTemplate(name)
Returns the ria.template.Template for the given name, or the default template
(ria.template.DefaultTemplate) if no template could be found.
|
|
setTemplate(name, template)
Registers the given ria.template.Template in this TemplateRepository with the
provided name.
|