Mercurial > mxd2map
view src/java/de/intevation/mxd/reader/AbstractSymbolReader.java @ 247:30e10eb9ac68
Print out a message if an empty layer is not written to the mapfile.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 10 Aug 2011 13:23:29 +0200 |
parents | df4e0946ef02 |
children | 10e0aa283217 |
line wrap: on
line source
/* * Copyright (c) 2011 by Intevation GmbH, Germany <info@intevation.de> * * This file is part of MXD2map. * * This program is free software under the LGPL (>=v2.1) * Read the file LICENCE.txt coming with the software for details * or visit http://www.gnu.org/licenses/ if it does not exist. * * MXD2map has been developed on behalf of the * Bundesamt fuer Seeschifffahrt und Hydrographie (BSH) in Hamburg * by Intevation GmbH. * * Authors: * Raimund Renkert <raimund.renkert@intevation.de> * Bjoern Schilberg <bjoern.schilberg@intevation.de> * Stephan Holl <stephan.holl@intevation.de> */ package de.intevation.mxd.reader; import org.apache.log4j.Logger; import org.w3c.dom.Element; import de.intevation.mxd.utils.MapToXMLUtils; /** * Reads multi layer marker symbol information. * * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> */ public abstract class AbstractSymbolReader implements ISymbolReader{ /** * The logger. */ private static final Logger logger = Logger.getLogger(AbstractSymbolReader.class); /** * Private member. */ protected Element parent; protected MapToXMLUtils util; /** * Setter for the parent XML element. * * @param parent The XML parent node. */ public void setParent(Element p) { this.parent = p; } /** * Setter for XML document helper. * * @param util The helper class for storing map information. */ public void setUtil(MapToXMLUtils u) { this.util = u; } }