Class StyleMapType


public class StyleMapType extends AbstractStyleSelectorType

Java class for StyleMapType complex type.

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

 <complexType name="StyleMapType">
   <complexContent>
     <extension base="{http://earth.google.com/kml/2.2}AbstractStyleSelectorType">
       <sequence>
         <element ref="{http://earth.google.com/kml/2.2}Pair" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • StyleMapType

      public StyleMapType()
  • Method Details

    • getPair

      public List<PairType> 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 JAXB object. This is why there is not a set method 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 PairType