Package railo.runtime.util

Examples of railo.runtime.util.VariableUtilImpl


  }

  @Override
  public Object get(PageContext pc, Key key) throws PageException {
    log(key.getString());
    VariableUtilImpl var = (VariableUtilImpl) pc.getVariableUtil();
    return var.get(pc, o, key);
    //return TraceObjectSupport.toTraceObject(debugger,var.get(pc, o, key),type,category,text);
  }
View Full Code Here


  }
 
  @Override
  public Object get(PageContext pc, Key key, Object defaultValue) {
    log(key.getString());
    VariableUtilImpl var = (VariableUtilImpl) pc.getVariableUtil();
    return var.get(pc, o, key, defaultValue);
    //return TraceObjectSupport.toTraceObject(debugger,var.get(pc, o, key, defaultValue),type,category,text);
  }
View Full Code Here

  }
 
  @Override
  public Object set(PageContext pc, Key key, Object value) throws PageException {
    log(key,value);
    VariableUtilImpl var = (VariableUtilImpl) pc.getVariableUtil();
    return var.set(pc, o, key, value);
    //return TraceObjectSupport.toTraceObject(debugger,var.set(pc, o, key, value),type,category,text);
  }
View Full Code Here

  }
 
  @Override
  public Object setEL(PageContext pc, Key key, Object value) {
    log(key,value);
    VariableUtilImpl var = (VariableUtilImpl) pc.getVariableUtil();
    return var.setEL(pc, o, key, value);
    //return TraceObjectSupport.toTraceObject(debugger,var.setEL(pc, o, key, value),type,category,text);
  }
View Full Code Here

  }

  @Override
  public Object call(PageContext pc, Key key, Object[] args) throws PageException {
    log(key.getString());
    VariableUtilImpl var = (VariableUtilImpl) pc.getVariableUtil();
    return var.callFunctionWithoutNamedValues(pc, o, key, args);
  }
View Full Code Here

  }
 
  @Override
  public Object callWithNamedValues(PageContext pc, Key key, Struct args) throws PageException {
    log(key.getString());
    VariableUtilImpl var = (VariableUtilImpl) pc.getVariableUtil();
    return var.callFunctionWithNamedValues(pc, o, key, args);
  }
View Full Code Here

  private static boolean _operate(PageContext pc , double scope,Collection.Key[] varNames, int startIndex) {
    Object defVal=null;
    try {
      Object coll =VariableInterpreter.scope(pc, (int)scope, false);
      //Object coll =pc.scope((int)scope);
      VariableUtilImpl vu = ((VariableUtilImpl)pc.getVariableUtil());
      for(int i=startIndex;i<varNames.length;i++) {
        coll=vu.getCollection(pc,coll,varNames[i],defVal);
        if(coll==defVal)return false;
      }
    } catch (Throwable t) {
          return false;
      }
View Full Code Here

  public static boolean call(PageContext pc , double scope,Collection.Key[] varNames) {
    Object defVal=NullSupportHelper.NULL();
    try {
      Object coll =VariableInterpreter.scope(pc, (int)scope, false);
      //Object coll =pc.scope((int)scope);
      VariableUtilImpl vu = ((VariableUtilImpl)pc.getVariableUtil());
      for(int i=0;i<varNames.length;i++) {
        coll=vu.getCollection(pc,coll,varNames[i],defVal);
        if(coll==defVal)return false;
      }
    } catch (Throwable t) {
          return false;
      }
View Full Code Here

TOP

Related Classes of railo.runtime.util.VariableUtilImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.