Package com.google.earth.kml._2
Class ItemIconType
java.lang.Object
com.google.earth.kml._2.ObjectType
com.google.earth.kml._2.ItemIconType
<p>Java class for ItemIconType complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="ItemIconType">
<complexContent>
<extension base="{http://earth.google.com/kml/2.1}ObjectType">
<sequence>
<element name="state" type="{http://earth.google.com/kml/2.1}itemIconStateType" maxOccurs="unbounded" minOccurs="0"/>
<element name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
</sequence>
</extension>
</complexContent>
</complexType>
}</pre>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected List<jakarta.xml.bind.JAXBElement<List<ItemIconStateEnum>>> Fields inherited from class com.google.earth.kml._2.ObjectType
id, targetId -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.earth.kml._2.ObjectType
getId, getTargetId, setId, setTargetId
-
Field Details
-
state
-
href
-
-
Constructor Details
-
ItemIconType
public ItemIconType()
-
-
Method Details
-
getState
Gets the value of the state 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 Jakarta XML Binding object. This is why there is not a
setmethod for the state property.For example, to add a new item, do as follows:
getState().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<List<ItemIconStateEnum>>- Returns:
- The value of the state property.
-
getHref
Gets the value of the href property.- Returns:
- possible object is
String
-
setHref
Sets the value of the href property.- Parameters:
value- allowed object isString
-