01: package org.wings.macro;
02:
03: import java.util.Collection;
04: import java.util.ArrayList;
05:
06: /**
07: * <code>AbstractMacro<code>.
08: * <p/>
09: * User: rrd
10: * Date: 13.08.2007
11: * Time: 15:04:43
12: *
13: * @author rrd
14: * @version $Id
15: */
16: public abstract class AbstractMacro implements Macro, Instruction {
17:
18: protected Collection<Instruction> instructions = new ArrayList<Instruction>();
19:
20: public void addInstruction(Instruction instruction) {
21: instructions.add(instruction);
22: }
23: }
|