Package com.google.earth.kml._2
Class FeatureType
java.lang.Object
com.google.earth.kml._2.ObjectType
com.google.earth.kml._2.FeatureType
- Direct Known Subclasses:
ContainerType,NetworkLinkType,OverlayType,PlacemarkType
<p>Java class for FeatureType complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="FeatureType">
<complexContent>
<extension base="{http://earth.google.com/kml/2.1}ObjectType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="visibility" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="open" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="phoneNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Snippet" type="{http://earth.google.com/kml/2.1}SnippetType" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element ref="{http://earth.google.com/kml/2.1}LookAt" minOccurs="0"/>
<element ref="{http://earth.google.com/kml/2.1}TimePrimitive" minOccurs="0"/>
<element ref="{http://earth.google.com/kml/2.1}styleUrl" minOccurs="0"/>
<element ref="{http://earth.google.com/kml/2.1}StyleSelector" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://earth.google.com/kml/2.1}Region" minOccurs="0"/>
<element name="Metadata" type="{http://earth.google.com/kml/2.1}MetadataType" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
}</pre>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected LookAtTypeprotected MetadataTypeprotected Stringprotected Booleanprotected Stringprotected RegionTypeprotected SnippetTypeprotected List<jakarta.xml.bind.JAXBElement<? extends StyleSelectorType>> protected Stringprotected jakarta.xml.bind.JAXBElement<? extends TimePrimitiveType> protected BooleanFields inherited from class com.google.earth.kml._2.ObjectType
id, targetId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the address property.Gets the value of the description property.Gets the value of the lookAt property.Gets the value of the metadata property.getName()Gets the value of the name property.Gets the value of the phoneNumber property.Gets the value of the region property.Gets the value of the snippet property.List<jakarta.xml.bind.JAXBElement<? extends StyleSelectorType>> Gets the value of the styleSelector property.Gets the value of the styleUrl property.jakarta.xml.bind.JAXBElement<? extends TimePrimitiveType> Gets the value of the timePrimitive property.isOpen()Gets the value of the open property.Gets the value of the visibility property.voidsetAddress(String value) Sets the value of the address property.voidsetDescription(String value) Sets the value of the description property.voidsetLookAt(LookAtType value) Sets the value of the lookAt property.voidsetMetadata(MetadataType value) Sets the value of the metadata property.voidSets the value of the name property.voidSets the value of the open property.voidsetPhoneNumber(String value) Sets the value of the phoneNumber property.voidsetRegion(RegionType value) Sets the value of the region property.voidsetSnippet(SnippetType value) Sets the value of the snippet property.voidsetStyleUrl(String value) Sets the value of the styleUrl property.voidsetTimePrimitive(jakarta.xml.bind.JAXBElement<? extends TimePrimitiveType> value) Sets the value of the timePrimitive property.voidsetVisibility(Boolean value) Sets the value of the visibility property.Methods inherited from class com.google.earth.kml._2.ObjectType
getId, getTargetId, setId, setTargetId
-
Field Details
-
name
-
visibility
-
open
-
address
-
phoneNumber
-
snippet
-
description
-
lookAt
-
timePrimitive
-
styleUrl
-
styleSelector
-
region
-
metadata
-
-
Constructor Details
-
FeatureType
public FeatureType()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isVisibility
Gets the value of the visibility property.- Returns:
- possible object is
Boolean
-
setVisibility
Sets the value of the visibility property.- Parameters:
value- allowed object isBoolean
-
isOpen
Gets the value of the open property.- Returns:
- possible object is
Boolean
-
setOpen
Sets the value of the open property.- Parameters:
value- allowed object isBoolean
-
getAddress
Gets the value of the address property.- Returns:
- possible object is
String
-
setAddress
Sets the value of the address property.- Parameters:
value- allowed object isString
-
getPhoneNumber
Gets the value of the phoneNumber property.- Returns:
- possible object is
String
-
setPhoneNumber
Sets the value of the phoneNumber property.- Parameters:
value- allowed object isString
-
getSnippet
Gets the value of the snippet property.- Returns:
- possible object is
SnippetType
-
setSnippet
Sets the value of the snippet property.- Parameters:
value- allowed object isSnippetType
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getLookAt
Gets the value of the lookAt property.- Returns:
- possible object is
LookAtType
-
setLookAt
Sets the value of the lookAt property.- Parameters:
value- allowed object isLookAtType
-
getTimePrimitive
Gets the value of the timePrimitive property.- Returns:
- possible object is
JAXBElement<TimePrimitiveType>JAXBElement<TimeSpanType>JAXBElement<TimeStampType>
-
setTimePrimitive
Sets the value of the timePrimitive property.- Parameters:
value- allowed object isJAXBElement<TimePrimitiveType>JAXBElement<TimeSpanType>JAXBElement<TimeStampType>
-
getStyleUrl
Gets the value of the styleUrl property.- Returns:
- possible object is
String
-
setStyleUrl
Sets the value of the styleUrl property.- Parameters:
value- allowed object isString
-
getStyleSelector
Gets the value of the styleSelector 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 styleSelector property.For example, to add a new item, do as follows:
getStyleSelector().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<StyleMapType>JAXBElement<StyleSelectorType>JAXBElement<StyleType>- Returns:
- The value of the styleSelector property.
-
getRegion
Gets the value of the region property.- Returns:
- possible object is
RegionType
-
setRegion
Sets the value of the region property.- Parameters:
value- allowed object isRegionType
-
getMetadata
Gets the value of the metadata property.- Returns:
- possible object is
MetadataType
-
setMetadata
Sets the value of the metadata property.- Parameters:
value- allowed object isMetadataType
-