Package org.sonatype.mavenbook.weather.model

Examples of org.sonatype.mavenbook.weather.model.Atmosphere


  condition.setCode( doc.valueOf("/rss/channel/item/y:condition/@code") );
  condition.setDate( doc.valueOf("/rss/channel/item/y:condition/@date") );
  condition.setWeather( weather );
  weather.setCondition( condition );

  Atmosphere atmosphere = new Atmosphere();
  atmosphere.setHumidity( doc.valueOf("/rss/channel/y:atmosphere/@humidity") );
  atmosphere.setVisibility( doc.valueOf("/rss/channel/y:atmosphere/@visibility") );
  atmosphere.setPressure( doc.valueOf("/rss/channel/y:atmosphere/@pressure") );
  atmosphere.setRising( doc.valueOf("/rss/channel/y:atmosphere/@rising") );
  atmosphere.setWeather( weather );
  weather.setAtmosphere( atmosphere );

  Wind wind = new Wind();
  wind.setChill( doc.valueOf("/rss/channel/y:wind/@chill") );
  wind.setDirection( doc.valueOf("/rss/channel/y:wind/@direction") );
View Full Code Here

TOP

Related Classes of org.sonatype.mavenbook.weather.model.Atmosphere

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.