Android Open Source - bike-friend Xml Station

From Project

Back to project page bike-friend.


The source code is released under:

GNU General Public License

If you think the Android project bike-friend listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.lemoulinstudio.bikefriend.webapp.cbike;
/*  w w w  .  jav  a 2  s. co  m*/
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

 * @author Vincent Cantin
@XmlRootElement(name = "Station")
public class XmlStation {
  @XmlElement(name = "StationName")
  public String name;
  @XmlElement(name = "StationAddress")
  public String address;
  @XmlElement(name = "StationDesc")
  public String description;
  @XmlElement(name = "StationLon")
  public double longitude;
  @XmlElement(name = "StationLat")
  public double latitude;
  @XmlElement(name = "StationNums1")
  public int nbBikes;
  @XmlElement(name = "StationNums2")
  public int nbEmptySlots;

Java Source Code List