org.apache.commons.jelly.expression.Expression.evaluateAsIterator()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(138)

本文整理了Java中org.apache.commons.jelly.expression.Expression.evaluateAsIterator()方法的一些代码示例,展示了Expression.evaluateAsIterator()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Expression.evaluateAsIterator()方法的具体详情如下:
包路径:org.apache.commons.jelly.expression.Expression
类名称:Expression
方法名:evaluateAsIterator

Expression.evaluateAsIterator介绍

[英]Evaluates the expression with the given context coercing the result to be an Iterator.
[中]使用给定上下文对表达式求值,将结果强制为迭代器。

代码示例

代码示例来源:origin: commons-jelly/commons-jelly

protected void processBean(String var, Object bean) throws JellyTagException {
  super.processBean(var, bean);
  List list = getList();
  // if the items variable is specified lets append all the items
  if (items != null) {
    Iterator iter = items.evaluateAsIterator(context);
    while (iter.hasNext()) {
      list.add( iter.next() );
    }
  }
}

代码示例来源:origin: org.hudsonci.stapler/commons-jelly

protected void processBean(String var, Object bean) throws JellyTagException {
  super.processBean(var, bean);
  List list = getList();
  // if the items variable is specified lets append all the items
  if (items != null) {
    Iterator iter = items.evaluateAsIterator(context);
    while (iter.hasNext()) {
      list.add( iter.next() );
    }
  }
}

代码示例来源:origin: org.jenkins-ci/commons-jelly

protected void processBean(String var, Object bean) throws JellyTagException {
  super.processBean(var, bean);
  List list = getList();
  // if the items variable is specified lets append all the items
  if (items != null) {
    Iterator iter = items.evaluateAsIterator(context);
    while (iter.hasNext()) {
      list.add( iter.next() );
    }
  }
}

代码示例来源:origin: org.jvnet.hudson/commons-jelly

protected void processBean(String var, Object bean) throws JellyTagException {
  super.processBean(var, bean);
  List list = getList();
  // if the items variable is specified lets append all the items
  if (items != null) {
    Iterator iter = items.evaluateAsIterator(context);
    while (iter.hasNext()) {
      list.add( iter.next() );
    }
  }
}

代码示例来源:origin: org.jenkins-ci/commons-jelly

Iterator iter = items.evaluateAsIterator(context);

代码示例来源:origin: org.hudsonci.stapler/commons-jelly

Iterator iter = items.evaluateAsIterator(context);

代码示例来源:origin: commons-jelly/commons-jelly

Iterator iter = items.evaluateAsIterator(context);

代码示例来源:origin: org.jvnet.hudson/commons-jelly

Iterator iter = items.evaluateAsIterator(context);

相关文章