comparison src/java/de/intevation/mxd/reader/SimpleMarkerSymbolReader.java @ 43:ef7ca23c4233

Added comments, done some code styling and removed typos.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 15 Apr 2011 15:44:54 +0200
parents 395307e8b7ee
children 6d181c02efce
comparison
equal deleted inserted replaced
42:395307e8b7ee 43:ef7ca23c4233
34 private Element renderer; 34 private Element renderer;
35 private SimpleMarkerSymbol symbol; 35 private SimpleMarkerSymbol symbol;
36 private MapToXMLUtils util; 36 private MapToXMLUtils util;
37 37
38 38
39 public SimpleMarkerSymbolReader(ISymbol symbol) throws Exception{ 39 public SimpleMarkerSymbolReader(ISymbol symbol)
40 throws Exception {
40 logger.debug("contructor()"); 41 logger.debug("contructor()");
41 if(symbol instanceof SimpleMarkerSymbol) 42 if(symbol instanceof SimpleMarkerSymbol) {
42 this.symbol = (SimpleMarkerSymbol)symbol; 43 this.symbol = (SimpleMarkerSymbol)symbol;
43 else 44 }
45 else {
44 throw new Exception("Not a SimpleMarkerSymbol!"); 46 throw new Exception("Not a SimpleMarkerSymbol!");
47 }
45 } 48 }
46 49
47 /** 50 /**
48 * Setter for the parent XML element. 51 * Setter for the parent XML element.
49 * 52 *
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)