01: package net.refractions.udig.printing.ui;
02:
03: /**
04: * The TemplateFactory is used by the printing system to instantiate
05: * instances of Templates so that they can be used for printing.
06: *
07: * @author rgould
08: */
09: public interface TemplateFactory {
10:
11: /**
12: * Instantiates a new instance of a Template.
13: */
14: public Template createTemplate();
15:
16: /**
17: * The name of the templates that this factory produces.
18: * This must be human-readable. For example, a list of all the
19: * names of the Templates available may be presented to a user.
20: */
21: public String getName();
22: }
|