comparison src/java/de/intevation/mxd/reader/MarkerLineSymbolReader.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
27 /** 27 /**
28 * Private member. 28 * Private member.
29 */ 29 */
30 private MarkerLineSymbol symbol; 30 private MarkerLineSymbol symbol;
31 31
32 /**
33 * Constructor with symbol.
34 *
35 * @param symbol The symbol used to display lines.
36 */
32 public MarkerLineSymbolReader(ISymbol symbol) 37 public MarkerLineSymbolReader(ISymbol symbol)
33 throws Exception { 38 throws Exception {
34 logger.debug("contructor()"); 39 logger.debug("contructor()");
35 if(symbol instanceof MarkerLineSymbol) { 40 if(symbol instanceof MarkerLineSymbol) {
36 this.symbol = (MarkerLineSymbol)symbol; 41 this.symbol = (MarkerLineSymbol)symbol;
38 else { 43 else {
39 throw new Exception("Not a MarkerLineSymbol!"); 44 throw new Exception("Not a MarkerLineSymbol!");
40 } 45 }
41 } 46 }
42 47
48 /**
49 * Constructor with symbol.
50 *
51 * @param symbol The symbol used to display lines.
52 */
43 public MarkerLineSymbolReader(ILineSymbol symbol) 53 public MarkerLineSymbolReader(ILineSymbol symbol)
44 throws Exception { 54 throws Exception {
45 logger.debug("contructor()"); 55 logger.debug("contructor()");
46 if(symbol instanceof MarkerLineSymbol) { 56 if(symbol instanceof MarkerLineSymbol) {
47 this.symbol = (MarkerLineSymbol)symbol; 57 this.symbol = (MarkerLineSymbol)symbol;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)