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