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