comparison src/java/de/intevation/mxd/reader/HashLineSymbolReader.java @ 180:f4eb506499f5

Done some code styling and removed TODOs.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 11 Jul 2011 12:11:08 +0200
parents a4ab239509f1
children 0bde090506f9
comparison
equal deleted inserted replaced
179:f3a91cd7440b 180:f4eb506499f5
177 logger.warn( 177 logger.warn(
178 "Could not read HashSymbol." + 178 "Could not read HashSymbol." +
179 " No fallback symbol defined."); 179 " No fallback symbol defined.");
180 } 180 }
181 181
182 //TODO Read further HashLine specific attributes:
183 // LineDecoration, Template.
184 symbolElement.setAttribute("type", "line"); 182 symbolElement.setAttribute("type", "line");
185 symbolElement.setAttribute("style", "hash"); 183 symbolElement.setAttribute("style", "hash");
186 184
187 return symbolElement; 185 return symbolElement;
188 } 186 }
189 187
190 private void readHashSymbol(ILineSymbol ls, Element parent) 188 private void readHashSymbol(ILineSymbol ls, Element parent)
191 throws Exception { 189 throws Exception {
192 LineSymbolReader lsr = new LineSymbolReader (); 190 LineSymbolReader lsr = new LineSymbolReader ();
193 if (lsr.canRead(ls)) { 191 if (lsr.canRead(ls)) {
194 lsr.setSymbol(ls); 192 lsr.setSymbol(ls);
195 lsr.setParent(parent); 193 lsr.setParent(parent);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)