Mercurial > mxd2map
comparison src/java/de/intevation/mxd/writer/LineStyleWriter.java @ 120:11d63bf00326
Changed exception handling and logging in writer classes.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 16 Jun 2011 14:49:45 +0200 |
parents | 1ae8e05b863f |
children | f0a72d232aa8 |
comparison
equal
deleted
inserted
replaced
119:84f202b6aa65 | 120:11d63bf00326 |
---|---|
37 } | 37 } |
38 | 38 |
39 /** | 39 /** |
40 * Write the content. | 40 * Write the content. |
41 */ | 41 */ |
42 public boolean write(Element symbolElement) | 42 public boolean write(Element symbolElement) { |
43 throws Exception { | |
44 logger.debug("write(Element)"); | 43 logger.debug("write(Element)"); |
45 symbolSetObj symbolSet = map.getSymbolset(); | 44 symbolSetObj symbolSet = map.getSymbolset(); |
46 if(symbolElement.hasAttribute("angle")) { | 45 if(symbolElement.hasAttribute("angle")) { |
47 style.setAngle( | 46 style.setAngle( |
48 Double.parseDouble(symbolElement.getAttribute("angle"))); | 47 Double.parseDouble(symbolElement.getAttribute("angle"))); |