01: /*
02: * Created on Jan 29, 2005
03: *
04: */
05: package net.sf.thingamablog.generator;
06:
07: import java.util.Hashtable;
08:
09: /**
10: * @author Bob Tantlinger
11: */
12: public abstract class TemplateTag implements TemplateElement {
13: private String name;
14:
15: public TemplateTag(String name) {
16: this .name = name;
17: }
18:
19: /* (non-Javadoc)
20: * @see net.sf.thingamablog.tmpltest.TemplateElement#getName()
21: */
22: public String getName() {
23: return name;
24: }
25:
26: public abstract String process(Object val, Hashtable attribs);
27:
28: }
|