001 package railo.runtime.type.scope; 002 003 import railo.runtime.exp.PageException; 004 import railo.runtime.type.Array; 005 import railo.runtime.type.Scope; 006 007 /** 008 * interface for Argument scope 009 */ 010 public interface Argument extends Scope,Array { 011 012 /** 013 * sets if scope is binded to a other variable for using outside of a udf 014 * @param bind 015 */ 016 public abstract void setBind(boolean bind); 017 018 /** 019 * @return returns if scope is binded to a other variable for using outside of a udf 020 */ 021 public abstract boolean isBind(); 022 023 /** 024 * insert a key in argument scope at defined position 025 * @param index 026 * @param key 027 * @param value 028 * @return boolean 029 * @throws PageException 030 */ 031 public abstract boolean insert(int index, String key, Object value) 032 throws PageException; 033 034 }