Mercurial > dive4elements > river
changeset 6079:a0dbc60f78ee
merged
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Thu, 23 May 2013 17:32:45 +0200 |
parents | 176664f84d86 (current diff) c7777feea223 (diff) |
children | 4bd8bbbcdf68 |
files | |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java Thu May 23 17:32:20 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java Thu May 23 17:32:45 2013 +0200 @@ -577,6 +577,16 @@ parent.appendChild(owner.createTextNode(value)); } + protected void message(Node parent, Element current) + throws SQLException + { + log.debug("dc:message"); + if (log.isInfoEnabled()) { + String value = expand(current.getTextContent()); + log.info("MESSAGE: " + value); + } + } + /** * Add attribute to an element * @see Element @@ -893,6 +903,9 @@ else if ("text".equals(localName)) { text(parent, curr); } + else if ("message".equals(localName)) { + message(parent, curr); + } else if ("variable".equals(localName)) { variable(curr); }