comparison src/java/de/intevation/mxd/reader/AbstractSymbolReader.java @ 70:6d181c02efce

Added wrapper for marker symbol reader and extracted methods from symbol readers.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 26 May 2011 14:28:52 +0200
parents
children 59e06c405a9a
comparison
equal deleted inserted replaced
69:b41fcf268827 70:6d181c02efce
1 package de.intevation.mxd.reader;
2
3 import java.io.IOException;
4
5 import org.apache.log4j.Logger;
6
7 import org.w3c.dom.Element;
8 import de.intevation.mxd.utils.MapToXMLUtils;
9
10 /**
11 * Reads multi layer marker symbol information.
12 *
13 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
14 */
15 public abstract class AbstractSymbolReader implements ISymbolReader{
16
17 /**
18 * The logger.
19 */
20 private static final Logger logger =
21 Logger.getLogger(AbstractReaderTool.class);
22
23 /**
24 * Private member.
25 */
26 protected Element parent;
27 protected MapToXMLUtils util;
28
29
30 /**
31 * Setter for the parent XML element.
32 *
33 * @param parent The XML parent node.
34 */
35 public void setParent(Element p) {
36 this.parent = p;
37 }
38
39 /**
40 * Setter for XML document helper.
41 *
42 * @param util The helper class for storing map information.
43 */
44 public void setUtil(MapToXMLUtils u) {
45 this.util = u;
46 }
47 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)