comparison src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java @ 66:6bfebb7eb1df

Added hash line symbol reader.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 25 May 2011 14:44:46 +0200
parents 9fca9e09b966
children 5ed9e720b6cd
comparison
equal deleted inserted replaced
65:9fca9e09b966 66:6bfebb7eb1df
10 import com.esri.arcgis.display.MultiLayerLineSymbol; 10 import com.esri.arcgis.display.MultiLayerLineSymbol;
11 import com.esri.arcgis.display.SimpleLineSymbol; 11 import com.esri.arcgis.display.SimpleLineSymbol;
12 import com.esri.arcgis.display.MarkerLineSymbol; 12 import com.esri.arcgis.display.MarkerLineSymbol;
13 import com.esri.arcgis.display.PictureLineSymbol; 13 import com.esri.arcgis.display.PictureLineSymbol;
14 import com.esri.arcgis.display.CartographicLineSymbol; 14 import com.esri.arcgis.display.CartographicLineSymbol;
15 import com.esri.arcgis.display.HashLineSymbol;
15 import com.esri.arcgis.display.esriSimpleMarkerStyle; 16 import com.esri.arcgis.display.esriSimpleMarkerStyle;
16 import com.esri.arcgis.display.IRgbColor; 17 import com.esri.arcgis.display.IRgbColor;
17 import com.esri.arcgis.display.RgbColor; 18 import com.esri.arcgis.display.RgbColor;
18 19
19 import org.w3c.dom.Element; 20 import org.w3c.dom.Element;
103 ISymbolReader sreader = new CartoLineSymbolReader(sym); 104 ISymbolReader sreader = new CartoLineSymbolReader(sym);
104 sreader.setParent(renderer); 105 sreader.setParent(renderer);
105 sreader.setUtil(util); 106 sreader.setUtil(util);
106 sreader.read(); 107 sreader.read();
107 } 108 }
109 else if(sym instanceof HashLineSymbol) {
110 ISymbolReader sreader = new HashLineSymbolReader(sym);
111 sreader.setParent(renderer);
112 sreader.setUtil(util);
113 sreader.read();
114 }
108 else { 115 else {
109 logger.debug("The type of " + sym.getClass().toString() + 116 logger.debug("The type of " + sym.getClass().toString() +
110 " is not implemented!"); 117 " is not implemented!");
111 System.out.println( 118 System.out.println(
112 "No known instance: " + sym.getClass().toString()); 119 "No known instance: " + sym.getClass().toString());
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)