diff src/java/de/intevation/mxd/writer/LineStyleWriter.java @ 181:0bde090506f9

Added comments.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 11 Jul 2011 14:28:38 +0200
parents f4eb506499f5
children c79c3c6fc99a
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/LineStyleWriter.java	Mon Jul 11 12:11:08 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/LineStyleWriter.java	Mon Jul 11 14:28:38 2011 +0200
@@ -26,10 +26,19 @@
      */
     private static final Logger logger = Logger.getLogger(LineStyleWriter.class);
 
+    /**
+     * Private mamber
+     */
     private mapObj map;
     private classObj cl;
     private styleObj style;
 
+    /**
+     * Contructor with map object and class object.
+     *
+     * @param map The map object.
+     * @param cl  The class object containing the style.
+     */
     public LineStyleWriter (mapObj map, classObj cl) {
         this.map = map;
         this.cl = cl;
@@ -38,6 +47,8 @@
 
     /**
      * Write the content.
+     *
+     * @param symbolElement DOM element containing style attributes.
      */
     public boolean write(Element symbolElement) {
         logger.debug("write(Element)");
@@ -186,7 +197,6 @@
                     style.setPatternlength(count*2);
                 }
                 style.setPattern(vals);
-
             }
             catch(NumberFormatException nfe) {
                 logger.warn("Could not write PATTERN.");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)