Package sunlabs.brazil.template
Class TemplateTemplate
java.lang.Object
sunlabs.brazil.template.Template
sunlabs.brazil.template.TemplateTemplate
- All Implemented Interfaces:
TemplateInterface
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:
- @(#)TemplateTemplate.java 2.1
- Author:
- Stephen Uhler
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TemplateTemplate
public TemplateTemplate()
-
-
Method Details
-
tag_template
-