comparison src/java/de/intevation/mxd/reader/CharacterMarkerSymbolReader.java @ 79:5becdfe6ebae

merged with raimunds stuff
author Stephan Holl <stephan.holl@intevation.de>
date Fri, 27 May 2011 12:54:55 +0200
parents 7eba97e8201b
children 83932f18dddc
comparison
equal deleted inserted replaced
78:df17d4c2f9eb 79:5becdfe6ebae
81 * Reads the symbol attributes. 81 * Reads the symbol attributes.
82 * 82 *
83 * @return The XML node. 83 * @return The XML node.
84 */ 84 */
85 public Element read() 85 public Element read()
86 throws IOException { 86 throws Exception {
87 logger.debug("read()"); 87 logger.debug("read()");
88 Element symbolElement; 88 Element symbolElement = util.addSymbol(renderer);
89 try {
90 symbolElement = util.addSymbol(renderer);
91 }
92 catch(Exception e) {
93 e.printStackTrace();
94 return null;
95 }
96 89
97 IColor c = symbol.getColor(); 90 IColor c = symbol.getColor();
98 symbolElement.setAttribute( 91 symbolElement.setAttribute(
99 "angle", 92 "angle",
100 String.valueOf(symbol.getAngle())); 93 String.valueOf(symbol.getAngle()));
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)