com.google.earth.kml._2
Class ResponseType

java.lang.Object
  extended by com.google.earth.kml._2.ResponseType

public class ResponseType
extends Object

Java class for ResponseType complex type.

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

 <complexType name="ResponseType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Status" type="{http://earth.google.com/kml/2.0}StatusType"/>
         <element name="Placemark" type="{http://earth.google.com/kml/2.0}PlacemarkType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String name
           
protected  List<PlacemarkType> placemark
           
protected  StatusType status
           
 
Constructor Summary
ResponseType()
           
 
Method Summary
 String getName()
          Gets the value of the name property.
 List<PlacemarkType> getPlacemark()
          Gets the value of the placemark property.
 StatusType getStatus()
          Gets the value of the status property.
 void setName(String value)
          Sets the value of the name property.
 void setStatus(StatusType value)
          Sets the value of the status property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

status

protected StatusType status

placemark

protected List<PlacemarkType> placemark
Constructor Detail

ResponseType

public ResponseType()
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getStatus

public StatusType getStatus()
Gets the value of the status property.

Returns:
possible object is StatusType

setStatus

public void setStatus(StatusType value)
Sets the value of the status property.

Parameters:
value - allowed object is StatusType

getPlacemark

public List<PlacemarkType> getPlacemark()
Gets the value of the placemark 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 placemark property.

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

    getPlacemark().add(newItem);
 

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



Copyright © 2008. All Rights Reserved.