comparison src/java/de/intevation/mxd/reader/ArrowMarkerSymbolReader.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
82 * Reads the symbol attributes. 82 * Reads the symbol attributes.
83 * 83 *
84 * @return The XML node. 84 * @return The XML node.
85 */ 85 */
86 public Element read() 86 public Element read()
87 throws IOException { 87 throws Exception {
88 logger.debug("read()"); 88 logger.debug("read()");
89 Element symbolElement; 89 Element symbolElement = util.addSymbol(renderer);
90 try {
91 symbolElement = util.addSymbol(renderer);
92 }
93 catch(Exception e) {
94 e.printStackTrace();
95 return null;
96 }
97 90
98 IColor c = symbol.getColor(); 91 IColor c = symbol.getColor();
99 symbolElement.setAttribute( 92 symbolElement.setAttribute(
100 "angle", 93 "angle",
101 String.valueOf(symbol.getAngle())); 94 String.valueOf(symbol.getAngle()));
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)