Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java @ 5432:d0f5bc8064f1
pass BuildHelper to Function Resolver.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Tue, 26 Mar 2013 16:24:07 +0100 |
parents | e60f65540cc2 |
children | df32d7518f55 |
comparison
equal
deleted
inserted
replaced
5431:2fe120e1e4df | 5432:d0f5bc8064f1 |
---|---|
541 } | 541 } |
542 | 542 |
543 try { | 543 try { |
544 XPath xpath = XPATH_FACTORY.newXPath(); | 544 XPath xpath = XPATH_FACTORY.newXPath(); |
545 xpath.setXPathVariableResolver(frames); | 545 xpath.setXPathVariableResolver(frames); |
546 xpath.setXPathFunctionResolver(FunctionResolver.FUNCTIONS); | 546 xpath.setXPathFunctionResolver(new FunctionResolver(this)); |
547 return xpath.evaluate(expr, EVAL_DOCUMENT, returnType); | 547 return xpath.evaluate(expr, EVAL_DOCUMENT, returnType); |
548 } | 548 } |
549 catch (XPathExpressionException xpee) { | 549 catch (XPathExpressionException xpee) { |
550 log.error("expression: " + expr, xpee); | 550 log.error("expression: " + expr, xpee); |
551 } | 551 } |