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