Class Placemark

java.lang.Object
slash.navigation.kml.binding20.Placemark

public class Placemark 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">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element ref="{http://earth.google.com/kml/2.0}description" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}name" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}Snippet" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}Style" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}LookAt" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}GeometryCollection" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}MultiGeometry" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}MultiLineString" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}MultiPoint" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}MultiPolygon" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}Point" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}Polygon" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}TimePeriod" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}LineString" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}address" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:ciq:xsdschema:xAL:2.0}AddressDetails" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}styleUrl" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.0}visibility" minOccurs="0"/>
       </choice>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • descriptionOrNameOrSnippet

      protected List<Object> descriptionOrNameOrSnippet
    • id

      protected String id
  • Constructor Details

    • Placemark

      public Placemark()
  • Method Details

    • getDescriptionOrNameOrSnippet

      public List<Object> getDescriptionOrNameOrSnippet()
      Gets the value of the descriptionOrNameOrSnippet 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 descriptionOrNameOrSnippet property.

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

          getDescriptionOrNameOrSnippet().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<AddressDetails> LookAt JAXBElement<String> MultiPolygon JAXBElement<String> Style TimePeriod Polygon MultiLineString GeometryCollection JAXBElement<String> MultiGeometry MultiPoint Snippet JAXBElement<Boolean> Point JAXBElement<String> LineString

    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

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