Package sunlabs.brazil.template
Class TemplateTemplate
- java.lang.Object
-
- sunlabs.brazil.template.Template
-
- sunlabs.brazil.template.TemplateTemplate
-
- All Implemented Interfaces:
TemplateInterface
public class TemplateTemplate extends Template
Template class for processing markup through a sequence of template filters. This class processes:<template data=... [token=...] [prefix=...] [ignore=true|false]>
- data
- contains the markup to process.
- token
- names the request property that
contains the
class names or tokens that will define the templates that will process
the data (see the
TemplateFilter
discussion regarding the templates property). It defaults to "templates" with this class's prefix. - prefix
- Which prefix to assign the templates, if the "token" list contains class names. Defaults to our prefix.
- ignore
- If true, the result of the template processing is ignored. by default it is inserted into the resultant markup.
The templates for processing each token are setup only once, the first time the token is referenced.
- Version:
- Author:
- Stephen Uhler
-
-
Constructor Summary
Constructors Constructor Description TemplateTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
tag_template(RewriteContext hr)
-
-
-
Method Detail
-
tag_template
public void tag_template(RewriteContext hr)
-
-