Class Osm

java.lang.Object
org.openstreetmap.osm.Osm

public class Osm extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://openstreetmap.org/osm/0.6}bounds"/>
         <element ref="{http://openstreetmap.org/osm/0.6}node" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://openstreetmap.org/osm/0.6}way" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://openstreetmap.org/osm/0.6}relation" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}float" fixed="0.6" />
       <attribute name="generator" type="{http://www.w3.org/2001/XMLSchema}string" fixed="CGImap 0.0.2" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Osm

      public Osm()
  • Method Details

    • getBounds

      public Bounds getBounds()
      Gets the value of the bounds property.
      Returns:
      possible object is Bounds
    • setBounds

      public void setBounds(Bounds value)
      Sets the value of the bounds property.
      Parameters:
      value - allowed object is Bounds
    • getNode

      public List<Node> getNode()
      Gets the value of the node property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the node property.

      For example, to add a new item, do as follows:

          getNode().add(newItem);
       

      Objects of the following type(s) are allowed in the list Node

    • getWay

      public List<Way> getWay()
      Gets the value of the way property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the way property.

      For example, to add a new item, do as follows:

          getWay().add(newItem);
       

      Objects of the following type(s) are allowed in the list Way

    • getRelation

      public List<Relation> getRelation()
      Gets the value of the relation property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the relation property.

      For example, to add a new item, do as follows:

          getRelation().add(newItem);
       

      Objects of the following type(s) are allowed in the list Relation

    • getVersion

      public float getVersion()
      Gets the value of the version property.
      Returns:
      possible object is Float
    • setVersion

      public void setVersion(Float value)
      Sets the value of the version property.
      Parameters:
      value - allowed object is Float
    • getGenerator

      public String getGenerator()
      Gets the value of the generator property.
      Returns:
      possible object is String
    • setGenerator

      public void setGenerator(String value)
      Sets the value of the generator property.
      Parameters:
      value - allowed object is String