comparison src/java/de/intevation/mxd/reader/SimpleRendererReader.java @ 43:ef7ca23c4233

Added comments, done some code styling and removed typos.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 15 Apr 2011 15:44:54 +0200
parents 472aa36d0e01
children 9b5fb5e5914d
comparison
equal deleted inserted replaced
42:395307e8b7ee 43:ef7ca23c4233
84 } 84 }
85 85
86 rendererElement.setAttribute("label", renderer.getLabel()); 86 rendererElement.setAttribute("label", renderer.getLabel());
87 rendererElement.setAttribute("description", renderer.getDescription()); 87 rendererElement.setAttribute("description", renderer.getDescription());
88 symbol = renderer.getSymbol(); 88 symbol = renderer.getSymbol();
89 try{ 89 try {
90 if(symbol instanceof SimpleMarkerSymbol){ 90 if(symbol instanceof SimpleMarkerSymbol){
91 ISymbolReader isr= new SimpleMarkerSymbolReader(symbol); 91 ISymbolReader isr= new SimpleMarkerSymbolReader(symbol);
92 isr.setParent(rendererElement); 92 isr.setParent(rendererElement);
93 isr.setUtil(util); 93 isr.setUtil(util);
94 isr.read(); 94 isr.read();
99 isr.setUtil(util); 99 isr.setUtil(util);
100 isr.read(); 100 isr.read();
101 } 101 }
102 return rendererElement; 102 return rendererElement;
103 } 103 }
104 catch(Exception e){ 104 catch(Exception e) {
105 e.printStackTrace(); 105 e.printStackTrace();
106 } 106 }
107 return rendererElement; 107 return rendererElement;
108 } 108 }
109 } 109 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)