diff src/java/de/intevation/mxd/reader/CharacterMarkerSymbolReader.java @ 63:5c5ef5768893

Added MultiLayerLineSymbolReader.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 24 May 2011 16:51:01 +0200
parents 8e6d529e9a22
children 7eba97e8201b
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/CharacterMarkerSymbolReader.java	Tue May 24 14:16:25 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/CharacterMarkerSymbolReader.java	Tue May 24 16:51:01 2011 +0200
@@ -7,6 +7,7 @@
 import org.apache.log4j.Logger;
 
 import com.esri.arcgis.display.ISymbol;
+import com.esri.arcgis.display.IMarkerSymbol;
 import com.esri.arcgis.display.CharacterMarkerSymbol;
 import com.esri.arcgis.display.IColor;
 import com.esri.arcgis.support.ms.stdole.Font;
@@ -46,6 +47,18 @@
         }
     }
 
+    public CharacterMarkerSymbolReader(IMarkerSymbol symbol)
+    throws Exception {
+        logger.debug("contructor()");
+        if(symbol instanceof CharacterMarkerSymbol) {
+            this.symbol = (CharacterMarkerSymbol)symbol;
+        }
+        else {
+            throw new Exception("Not a CharacterMarkerSymbol!");
+        }
+    }
+
+
     /**
      * Setter for the parent XML element.
      *
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)