![JAR search and dependency download from the Maven repository](/logo.png)
org.apache.el.parser.AstCompositeExpression Maven / Gradle / Ivy
/* Generated By:JJTree: Do not edit this line. AstCompositeExpression.java */
package org.apache.el.parser;
import javax.el.ELException;
import org.apache.el.lang.EvaluationContext;
/**
* @author Jacob Hookom [[email protected]]
* @version $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: dpatil $
*/
public final class AstCompositeExpression extends SimpleNode {
public AstCompositeExpression(int id) {
super(id);
}
public Class getType(EvaluationContext ctx)
throws ELException {
return String.class;
}
public Object getValue(EvaluationContext ctx)
throws ELException {
StringBuffer sb = new StringBuffer(16);
Object obj = null;
if (this.children != null) {
for (int i = 0; i < this.children.length; i++) {
obj = this.children[i].getValue(ctx);
if (obj != null) {
sb.append(obj);
}
}
}
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy