Mercurial > mxd2map
diff src/java/de/intevation/mxd/reader/ArrowMarkerSymbolReader.java @ 63:5c5ef5768893
Added MultiLayerLineSymbolReader.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 24 May 2011 16:51:01 +0200 |
parents | 5fc813f40fa5 |
children | 7eba97e8201b |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/ArrowMarkerSymbolReader.java Tue May 24 14:16:25 2011 +0200 +++ b/src/java/de/intevation/mxd/reader/ArrowMarkerSymbolReader.java Tue May 24 16:51:01 2011 +0200 @@ -48,6 +48,18 @@ } } + public ArrowMarkerSymbolReader(IMarkerSymbol symbol) + throws Exception { + logger.debug("contructor()"); + if(symbol instanceof ArrowMarkerSymbol) { + this.symbol = (ArrowMarkerSymbol)symbol; + } + else { + throw new Exception("Not a ArrowMarkerSymbol!"); + } + } + + /** * Setter for the parent XML element. *