comparison src/java/de/intevation/mxd/reader/PictureMarkerSymbolReader.java @ 63:5c5ef5768893

Added MultiLayerLineSymbolReader.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 24 May 2011 16:51:01 +0200
parents 4e0464c620f0
children b41fcf268827
comparison
equal deleted inserted replaced
62:e468cf8701ea 63:5c5ef5768893
3 import java.io.IOException; 3 import java.io.IOException;
4 4
5 import org.apache.log4j.Logger; 5 import org.apache.log4j.Logger;
6 6
7 import com.esri.arcgis.display.ISymbol; 7 import com.esri.arcgis.display.ISymbol;
8 import com.esri.arcgis.display.IMarkerSymbol;
8 import com.esri.arcgis.display.PictureMarkerSymbol; 9 import com.esri.arcgis.display.PictureMarkerSymbol;
9 import com.esri.arcgis.display.IColor; 10 import com.esri.arcgis.display.IColor;
10 import com.esri.arcgis.carto.PictureElement; 11 import com.esri.arcgis.carto.PictureElement;
11 12
12 import org.w3c.dom.Element; 13 import org.w3c.dom.Element;
41 } 42 }
42 else { 43 else {
43 throw new Exception("Not a PictureMarkerSymbol!"); 44 throw new Exception("Not a PictureMarkerSymbol!");
44 } 45 }
45 } 46 }
47
48
49 public PictureMarkerSymbolReader(IMarkerSymbol symbol)
50 throws Exception {
51 logger.debug("contructor()");
52 if(symbol instanceof PictureMarkerSymbol) {
53 this.symbol = (PictureMarkerSymbol)symbol;
54 }
55 else {
56 throw new Exception("Not a PictureMarkerSymbol!");
57 }
58 }
59
46 60
47 /** 61 /**
48 * Setter for the parent XML element. 62 * Setter for the parent XML element.
49 * 63 *
50 * @param parent The XML parent node. 64 * @param parent The XML parent node.
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)