Package org.sgx.yuigwt.yui.yql.api.weather.forecast

Examples of org.sgx.yuigwt.yui.yql.api.weather.forecast.WheatherForecastResult


      .format("json").diagnostics("true");
    YQL yql1 = Y.newYQL("select * from weather.forecast where location=90210", new YQLCallback() {     
      @Override
      public void call(YQLResult r) {
//        console.log(Y.JSON().stringify(r));
        WheatherForecastResult fresult = r.query().results().cast();
        Channel channel = fresult.channel();
        parent.append(
          "<a href=\""+channel.link()+"\">"+
            channel.title()+"</a> - Wind speed: "+channel.wind().speed()+" kph. " +
   
          //or not using any Java API at all, just the js object api 
View Full Code Here

TOP

Related Classes of org.sgx.yuigwt.yui.yql.api.weather.forecast.WheatherForecastResult

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.