01: /*
02: * Created on 23 Jul 2007
03: */
04: package uk.org.ponder.beanutil;
05:
06: /** Recognizable holder of an EL reference as a String **/
07:
08: public class ELReference {
09: public ELReference() {
10: }
11:
12: public ELReference(String value) {
13: String stripped = BeanUtil.stripEL(value);
14: this .value = stripped == null ? value : stripped;
15: }
16:
17: public String value;
18:
19: public static ELReference make(String value) {
20: return value == null ? null : new ELReference(value);
21: }
22: }
|