Пример #1
0
 /**
  * Returns the result of evaluating the expression against the provided XML document.
  *
  * @param xml
  * @throws XPathExpressionException
  */
 public String resolve(String xml) throws XPathExpressionException {
   return envExpr.evaluate(xml);
 }
Пример #2
0
 /**
  * This method returns the value of the environment variable.
  *
  * <p>config.jelly calls this method to obtain the value of the field Value for a variable.
  */
 public String getEnvExpr() {
   return envExpr.getExpression();
 }