Examples of toBooleanValue()


Examples of railo.commons.lang.types.RefBoolean.toBooleanValue()

        RefBoolean isCustomSetting=new RefBooleanImpl();
            Resource configDir=getConfigDirectory(sg,configServer,countExistingContextes,isCustomSetting);
           
            QueryCacheSupport queryCache=QueryCacheSupport.getInstance();
            CFMLFactoryImpl factory=new CFMLFactoryImpl(this,queryCache);
            ConfigWebImpl config=ConfigWebFactory.newInstance(factory,configServer,configDir,isCustomSetting.toBooleanValue(),sg);
            factory.setConfig(config);
            return factory;
        }
        catch (Exception e) {
            ServletException se= new ServletException(e.getMessage());
View Full Code Here

Examples of railo.commons.lang.types.RefBooleanImpl.toBooleanValue()

      // Type
      TagLibTagAttr tlta=null;
    if(tlt!=null){
      tlta = tlt.getAttribute(name);
    }
    return new Attribute(dynamic.toBooleanValue(),name,tlta!=null?CastOther.toExpression(value, tlta.getType()):value,sbType.toString());
    }
 
  /*private String attributeName(CFMLString cfml, ArrayList<String> args,TagLibTag tag, RefBoolean dynamic, StringBuffer sbType) throws TemplateException {
    String id=StringUtil.toLowerCase(CFMLTransformer.identifier(cfml,true));
        if(args.contains(id)) throw new TemplateException(cfml,"you can't use the same attribute ["+id+"] twice");
View Full Code Here

Examples of railo.commons.lang.types.RefBooleanImpl.toBooleanValue()

        String clazzName=clazz.getName();
       
        ClassLoader classLoader=clazz.getClassLoader();
        Pair pair;
        SOAPService rpc=null;
        if(!isnew.toBooleanValue() && (pair = (Pair)soapServices.get(clazzName))!=null) {
          if(classLoader==pair.classloader)
            rpc=pair.rpc;
        }
        //else classLoader = clazz.getClassLoader();
       
View Full Code Here

Examples of railo.commons.lang.types.RefBooleanImpl.toBooleanValue()

         
        } catch (Throwable t) {}
      }
        } 
        finally {
          if(!before.toBooleanValue())ThreadLocalDuplication.reset();
        }
     
    return object;
    }
View Full Code Here

Examples of railo.commons.lang.types.RefBooleanImpl.toBooleanValue()

      realPath=mergeRealPathes(mapping,this.realPath, realPath.substring(2),_isOutSide);
    }
    else {
      realPath=mergeRealPathes(mapping,this.realPath, realPath,_isOutSide);
    }
    return mapping.getPageSource(realPath,_isOutSide.toBooleanValue());
  }
 
  @Override
  public final void setLastAccessTime(long lastAccess) {
    this.lastAccess=lastAccess;
View Full Code Here

Examples of railo.commons.lang.types.RefBooleanImpl.toBooleanValue()

      }
      else {
        int start=raw.getPos();
        RefBoolean hasBracked = new RefBooleanImpl(false);
        String alias=identifier(raw,hasBracked);//TODO having usw
        if(!hasBracked.toBooleanValue()) {
          if("where".equalsIgnoreCase(alias)) raw.setPos(start);
          else if("group".equalsIgnoreCase(alias)) raw.setPos(start);
          else if("having".equalsIgnoreCase(alias)) raw.setPos(start);
          else if("union".equalsIgnoreCase(alias)) raw.setPos(start);
          else if("order".equalsIgnoreCase(alias)) raw.setPos(start);
View Full Code Here

Examples of railo.commons.lang.types.RefBooleanImpl.toBooleanValue()

      }
      else {
        int start=raw.getPos();
        RefBoolean hb = new RefBooleanImpl(false);
        String alias=identifier(raw,hb);
        if(!hb.toBooleanValue() && "from".equalsIgnoreCase(alias)) raw.setPos(start);
        else if(alias!=null) exp.setAlias(alias);
      }
      select.addSelectExpression(exp);
      raw.removeSpace();
    }
View Full Code Here

Examples of railo.commons.lang.types.RefBooleanImpl.toBooleanValue()

  private Expression column(ParserString raw) throws SQLParserException {
    RefBoolean hb = new RefBooleanImpl(false);
    String name = identifier(raw,hb);
    if(name==null) return null;
    if(!hb.toBooleanValue()) {
      if("true".equalsIgnoreCase(name)) return ValueBoolean.TRUE;
      if("false".equalsIgnoreCase(name)) return ValueBoolean.FALSE;
      if("null".equalsIgnoreCase(name)) return ValueNull.NULL;
    }
   
View Full Code Here

Examples of railo.commons.lang.types.RefBooleanImpl.toBooleanValue()

          value=CastOther.toExpression(value, sbType.toString());
        }
      }   
      comment(data.cfml,true);
     
      return new Attribute(dynamic.toBooleanValue(),name,value,sbType.toString());
    }

  /**
   * Liest den Namen eines Attribut ein, je nach Attribut-Definition innerhalb der Tag-Lib,
   * wird der Name ber den identifier oder den Expression Transformer eingelesen.
View Full Code Here

Examples of railo.commons.lang.types.RefBooleanImpl.toBooleanValue()

        Lock nameLock = lock.lock(name,getRequestTimeout());
        //print.o("inner-lock  :"+token);
        try {
          RefBoolean isNew=new RefBooleanImpl(false);
          application=scopeContext.getApplicationScope(this,isNew);// this is needed that the application scope is initilized
          if(isNew.toBooleanValue()) {
            try {
            if(!listener.onApplicationStart(this)) {
              scopeContext.removeApplicationScope(this);
                return false;
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.