Mercurial > dive4elements > framework
diff artifacts-common/src/main/java/org/dive4elements/artifacts/common/utils/ElementConverter.java @ 502:09b5f7de8b6d 3.0.16
Added simple interface to convert an XML DOM element to something opaque.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 23 Sep 2013 10:49:01 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/artifacts-common/src/main/java/org/dive4elements/artifacts/common/utils/ElementConverter.java Mon Sep 23 10:49:01 2013 +0200 @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2013 by Intevation GmbH + * + * This program is free software under the LGPL (>=v2.1) + * Read the file LGPL.txt coming with the software for details + * or visit http://www.gnu.org/licenses/ if it does not exist. + */ +package org.dive4elements.artifacts.common.utils; + +import org.w3c.dom.Element; + +/** Simple interface to convert an XML DOM element to somthing opaque, + * Useful to do some config preprocessing. + */ +public interface ElementConverter { + Object convert(Element element); +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :