Examples of Atmosphere


Examples of org.bitbucket.woolmark.object.Atmosphere

    }

    public AbstractSheepWorld(final int width, final int height) {
        super(width, height);

        Atmosphere atmosphere = createAtmosphere(this);

        Fence fence = createFence(this);

        Ground ground = createGround(this);
        ground.setSize(fence);
View Full Code Here

Examples of org.rometools.feed.module.yahooweather.types.Atmosphere

        Element atmosphere = element.getChild("atmosphere",
                WeatherModuleParser.NS);

        if(atmosphere != null) {
            try {
                Atmosphere a = new Atmosphere(Integer.parseInt(
                            atmosphere.getAttributeValue("humidity")),
                        Double.parseDouble(atmosphere.getAttributeValue(
                                "visibility")) / 100,
                        Double.parseDouble(atmosphere.getAttributeValue(
                                "pressure")),
View Full Code Here

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
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.