Mercurial > mxd2map
comparison src/java/de/intevation/mxd/writer/MarkerStyleWriter.java @ 181:0bde090506f9
Added comments.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 11 Jul 2011 14:28:38 +0200 |
parents | b2c5a66022f1 |
children | 17b4aaa159ec |
comparison
equal
deleted
inserted
replaced
180:f4eb506499f5 | 181:0bde090506f9 |
---|---|
23 /** | 23 /** |
24 * The Logger. | 24 * The Logger. |
25 */ | 25 */ |
26 private static final Logger logger = Logger.getLogger(MarkerStyleWriter.class); | 26 private static final Logger logger = Logger.getLogger(MarkerStyleWriter.class); |
27 | 27 |
28 /** | |
29 * Private member. | |
30 */ | |
28 private mapObj map; | 31 private mapObj map; |
29 private classObj cl; | 32 private classObj cl; |
30 private styleObj style; | 33 private styleObj style; |
31 | 34 |
35 /** | |
36 * Contructor with map object and class object. | |
37 * | |
38 * @param map The map object. | |
39 * @param cl The class object containing the style. | |
40 */ | |
32 public MarkerStyleWriter (mapObj map, classObj cl) { | 41 public MarkerStyleWriter (mapObj map, classObj cl) { |
33 this.map = map; | 42 this.map = map; |
34 this.cl = cl; | 43 this.cl = cl; |
35 this.style = new styleObj(cl); | 44 this.style = new styleObj(cl); |
36 } | 45 } |
37 | 46 |
38 /** | 47 /** |
39 * Write the content. | 48 * Write the content. |
49 * | |
50 * @param symbolElement DOM element containing style attributes. | |
40 */ | 51 */ |
41 public boolean write(Element symbolElement) { | 52 public boolean write(Element symbolElement) { |
42 logger.debug("write(Element)"); | 53 logger.debug("write(Element)"); |
43 symbolSetObj symbolSet = map.getSymbolset(); | 54 symbolSetObj symbolSet = map.getSymbolset(); |
44 | 55 |