comparison artifacts/src/main/java/org/dive4elements/river/exports/ChartGenerator.java @ 7087:ada424214b02 generator-refactoring

Use Object instead of DOM Element as argument for setup of out generators. First step to remove dependency to XML DOM when using configuration.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 22 Sep 2013 21:05:12 +0200
parents 0a337f0005c2
children c9b82ffbb7dc
comparison
equal deleted inserted replaced
7086:42e243c640a0 7087:ada424214b02
160 public ChartGenerator() { 160 public ChartGenerator() {
161 datasets = new TreeMap<Integer, AxisDataset>(); 161 datasets = new TreeMap<Integer, AxisDataset>();
162 } 162 }
163 163
164 @Override 164 @Override
165 public void setup(Element config) { 165 public void setup(Object config) {
166 logger.debug("ChartGenerator.setup"); 166 logger.debug("ChartGenerator.setup");
167 } 167 }
168 168
169 /** 169 /**
170 * Adds annotations to list. The given annotation will be visible. 170 * Adds annotations to list. The given annotation will be visible.

http://dive4elements.wald.intevation.org