Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/StateFactory.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | e4606eae8ea5 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
8 | 8 |
9 package org.dive4elements.river.artifacts.states; | 9 package org.dive4elements.river.artifacts.states; |
10 | 10 |
11 import javax.xml.xpath.XPathConstants; | 11 import javax.xml.xpath.XPathConstants; |
12 | 12 |
13 import org.apache.log4j.Logger; | 13 import org.apache.logging.log4j.Logger; |
14 import org.apache.logging.log4j.LogManager; | |
14 | 15 |
15 import org.w3c.dom.Node; | 16 import org.w3c.dom.Node; |
16 import org.w3c.dom.NodeList; | 17 import org.w3c.dom.NodeList; |
17 | 18 |
18 import org.dive4elements.artifactdatabase.data.DefaultStateData; | 19 import org.dive4elements.artifactdatabase.data.DefaultStateData; |
25 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 26 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
26 */ | 27 */ |
27 public class StateFactory { | 28 public class StateFactory { |
28 | 29 |
29 /** The log used in this class */ | 30 /** The log used in this class */ |
30 private static Logger log = Logger.getLogger(StateFactory.class); | 31 private static Logger log = LogManager.getLogger(StateFactory.class); |
31 | 32 |
32 /** The XPath to the classname of the state */ | 33 /** The XPath to the classname of the state */ |
33 public static final String XPATH_STATE = "@state"; | 34 public static final String XPATH_STATE = "@state"; |
34 | 35 |
35 /** The XPath to the data items of the state relative to the state node. */ | 36 /** The XPath to the data items of the state relative to the state node. */ |