1 | /** |
2 | * BSD-style license; for more info see http://xradar.sourceforge.net/license.html |
3 | */ |
4 | package org.sourceforge.xradar.statics; |
5 | |
6 | import java.util.HashMap; |
7 | import java.util.Map; |
8 | |
9 | /** |
10 | * What it is call Prembule here is all the external data |
11 | * required by an xslt tranformation. |
12 | * For the moments, it is basicly only a set of parameters. |
13 | * |
14 | * @author rpelisse |
15 | * |
16 | */ |
17 | public class Preambule |
18 | { |
19 | private Map<String,Param> params; |
20 | |
21 | public Preambule() |
22 | { |
23 | params = new HashMap<String,Param>(0); |
24 | } |
25 | /** |
26 | * @return the params |
27 | */ |
28 | public Map<String,Param> getParams() { |
29 | if ( params == null ) |
30 | return new HashMap<String,Param>(0); |
31 | return params; |
32 | } |
33 | |
34 | /** |
35 | * @param params the params to set |
36 | */ |
37 | public void setParams(Map<String,Param> params) { |
38 | this.params = params; |
39 | } |
40 | |
41 | |
42 | } |