Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/MultiLayerMarkerSymbolReader.java @ 181:0bde090506f9
Added comments.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 11 Jul 2011 14:28:38 +0200 |
parents | fb93f20478cc |
children | df4e0946ef02 |
comparison
equal
deleted
inserted
replaced
180:f4eb506499f5 | 181:0bde090506f9 |
---|---|
25 /** | 25 /** |
26 * Private member. | 26 * Private member. |
27 */ | 27 */ |
28 private MultiLayerMarkerSymbol symbol; | 28 private MultiLayerMarkerSymbol symbol; |
29 | 29 |
30 /** | |
31 * Constructor with symbol. | |
32 * | |
33 * @param symbol The symbol used to display points. | |
34 */ | |
30 public MultiLayerMarkerSymbolReader(ISymbol symbol) | 35 public MultiLayerMarkerSymbolReader(ISymbol symbol) |
31 throws Exception { | 36 throws Exception { |
32 logger.debug("contructor()"); | 37 logger.debug("contructor()"); |
33 if(symbol instanceof MultiLayerMarkerSymbol) { | 38 if(symbol instanceof MultiLayerMarkerSymbol) { |
34 this.symbol = (MultiLayerMarkerSymbol)symbol; | 39 this.symbol = (MultiLayerMarkerSymbol)symbol; |
36 else { | 41 else { |
37 throw new Exception("Not a MultiLayerMarkerSymbol!"); | 42 throw new Exception("Not a MultiLayerMarkerSymbol!"); |
38 } | 43 } |
39 } | 44 } |
40 | 45 |
46 /** | |
47 * Constructor with symbol. | |
48 * | |
49 * @param symbol The symbol used to display points. | |
50 */ | |
41 public MultiLayerMarkerSymbolReader(IMarkerSymbol symbol) | 51 public MultiLayerMarkerSymbolReader(IMarkerSymbol symbol) |
42 throws Exception { | 52 throws Exception { |
43 logger.debug("contructor()"); | 53 logger.debug("contructor()"); |
44 if(symbol instanceof MultiLayerMarkerSymbol) { | 54 if(symbol instanceof MultiLayerMarkerSymbol) { |
45 this.symbol = (MultiLayerMarkerSymbol)symbol; | 55 this.symbol = (MultiLayerMarkerSymbol)symbol; |