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