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 interface TemplateElement {
13: /**
14: * Gets the name of the element
15: *
16: * @return The element name
17: */
18: public String getName();
19:
20: /**
21: * Gets the default attributes of the element. Default
22: * attributues are used if no matching attributes are
23: * supplied in the template
24: *
25: * @return The default attributes.
26: */
27: public Hashtable getDefaultAttributes();
28: }
|