comparison src/java/de/intevation/mxd/reader/MultiLayerFillSymbolReader.java @ 75:9ea64427ac7e

Added marker fill symbol reader.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 27 May 2011 12:04:19 +0200
parents 7eba97e8201b
children 83932f18dddc
comparison
equal deleted inserted replaced
74:7eba97e8201b 75:9ea64427ac7e
90 throws Exception { 90 throws Exception {
91 logger.debug("read()"); 91 logger.debug("read()");
92 for(int i = 0; i < symbol.getLayerCount(); i++) { 92 for(int i = 0; i < symbol.getLayerCount(); i++) {
93 ISymbol sym = (ISymbol)symbol.getLayer(i); 93 ISymbol sym = (ISymbol)symbol.getLayer(i);
94 94
95 if(sym instanceof SimpleFillSymbol) { 95 FillSymbolReader fsr = new FillSymbolReader();
96 ISymbolReader sreader = new SimpleFillSymbolReader(sym); 96 if(fsr.canRead(sym)) {
97 sreader.setParent(renderer); 97 fsr.setSymbol(sym);
98 sreader.setUtil(util); 98 fsr.setParent(renderer);
99 sreader.read(); 99 fsr.setUtil(util);
100 fsr.read();
100 } 101 }
101 else { 102 else {
102 logger.debug("The type of " + sym.getClass().toString() + 103 logger.debug("The type of " + sym.getClass().toString() +
103 " is not implemented!"); 104 " is not implemented!");
104 } 105 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)