1 | /** |
2 | * |
3 | */ |
4 | package de.uka.ipd.sdq.spa.basicsolver.visitor.printhandler; |
5 | |
6 | import de.uka.ipd.sdq.spa.basicsolver.visitor.AlternativeHandler; |
7 | import de.uka.ipd.sdq.spa.basicsolver.visitor.HandlerFactory; |
8 | import de.uka.ipd.sdq.spa.basicsolver.visitor.LoopHandler; |
9 | import de.uka.ipd.sdq.spa.basicsolver.visitor.SequenceHandler; |
10 | import de.uka.ipd.sdq.spa.basicsolver.visitor.SymbolHandler; |
11 | |
12 | |
13 | /** |
14 | * @author Ihssane |
15 | * |
16 | */ |
17 | public class NormalPrintHandlerFactory implements HandlerFactory{ |
18 | |
19 | public SymbolHandler createSymbolHandler() { |
20 | return new NPrintSymbolHandler(); |
21 | } |
22 | |
23 | public SequenceHandler createSequenceHandler() { |
24 | return new NPrintSequenceHandler(); |
25 | } |
26 | |
27 | public AlternativeHandler createAlternativeHandler() { |
28 | return new NPrintAlternativeHandler(); |
29 | } |
30 | |
31 | public LoopHandler createLoopHandler() { |
32 | return new NPrintLoopHandler(); |
33 | } |
34 | |
35 | |
36 | } |