Package com.google.earth.kml._2
Class StyleMapType
java.lang.Object
com.google.earth.kml._2.ObjectType
com.google.earth.kml._2.StyleSelectorType
com.google.earth.kml._2.StyleMapType
<p>Java class for StyleMapType complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="StyleMapType">
<complexContent>
<extension base="{http://earth.google.com/kml/2.1}StyleSelectorType">
<sequence>
<element name="Pair" type="{http://earth.google.com/kml/2.1}StyleMapPairType" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
}</pre>
-
Field Summary
FieldsFields 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
-
pair
-
-
Constructor Details
-
StyleMapType
public StyleMapType()
-
-
Method Details
-
getPair
Gets the value of the pair 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 pair property.For example, to add a new item, do as follows:
getPair().add(newItem);
Objects of the following type(s) are allowed in the list
StyleMapPairType- Returns:
- The value of the pair property.
-