001    package railo.runtime.interpreter.ref;
002    
003    import railo.runtime.PageContext;
004    import railo.runtime.exp.PageException;
005    import railo.runtime.interpreter.ref.util.RefUtil;
006    
007    /**
008     * Support class to implement the refs
009     */
010    public abstract class RefSupport implements Ref {
011            
012            @Override
013        public Object getCollection(PageContext pc) throws PageException {
014            return getValue(pc);
015        }
016    
017            @Override
018        public Object touchValue(PageContext pc) throws PageException {
019            return getValue(pc);
020        }
021    
022    
023            @Override
024            public boolean eeq(PageContext pc, Ref other) throws PageException {
025                    return RefUtil.eeq(pc,this,other);
026            }
027    }