panda.el.obj.ELObj Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.el.obj;
import panda.el.ELContext;
public class ELObj {
private String val;
public ELObj(String val) {
this.val = val;
}
public String getVal() {
return val;
}
public Object getObj(ELContext ec) {
if (val == null) {
return null;
}
return ec.get(val);
}
public String toString() {
return val;
}
}