package osm.xmldatatypes; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <extension base="{}osmBasicType"> * <attribute name="lat" use="required" type="{}Lat" /> * <attribute name="lon" use="required" type="{}Lon" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "node") public class Node extends OsmBasicType { @XmlAttribute(name = "lat", required = true) protected double lat; @XmlAttribute(name = "lon", required = true) protected double lon; /** * Gets the value of the lat property. * */ public double getLat() { return lat; } /** * Sets the value of the lat property. * */ public void setLat(double value) { this.lat = value; } /** * Gets the value of the lon property. * */ public double getLon() { return lon; } /** * Sets the value of the lon property. * */ public void setLon(double value) { this.lon = value; } }