public class Delete extends Object implements Cloneable
Child elements for
Deletes features from a complex element that has already been loaded via a
| Modifier and Type | Field and Description |
|---|---|
protected List<Feature> |
feature
|
| Constructor and Description |
|---|
Delete() |
| Modifier and Type | Method and Description |
|---|---|
Delete |
addToFeature(Feature feature)
add a value to the feature property collection
|
Delete |
clone() |
Document |
createAndAddDocument()
Creates a new instance of
Document and adds it to feature. |
Folder |
createAndAddFolder()
Creates a new instance of
Folder and adds it to feature. |
GroundOverlay |
createAndAddGroundOverlay()
Creates a new instance of
GroundOverlay and adds it to feature. |
NetworkLink |
createAndAddNetworkLink()
Creates a new instance of
NetworkLink and adds it to feature. |
PhotoOverlay |
createAndAddPhotoOverlay()
Creates a new instance of
PhotoOverlay and adds it to feature. |
Placemark |
createAndAddPlacemark()
Creates a new instance of
Placemark and adds it to feature. |
ScreenOverlay |
createAndAddScreenOverlay()
Creates a new instance of
ScreenOverlay and adds it to feature. |
Tour |
createAndAddTour()
Creates a new instance of
Tour and adds it to feature. |
boolean |
equals(Object obj) |
List<Feature> |
getFeature() |
int |
hashCode() |
void |
setFeature(List<Feature> feature) |
Delete |
withFeature(List<Feature> feature)
fluent setter
|
protected List<Feature> feature
This is an abstract element and cannot be used directly in a KML file. The following diagram shows how some of a Feature's elements appear in Google Earth.
Syntax:<!-- abstract element; do not create -->
<!-- Feature id="ID" --> <!-- Document,Folder,
NetworkLink,Placemark,
GroundOverlay,PhotoOverlay,ScreenOverlay -->
<name>...</name> <!-- string -->
<visibility>1</visibility> <!-- boolean -->
<open>0</open> <!-- boolean -->
<atom:author>...<atom:author> <!-- xmlns:atom -->
<atom:link>...</atom:link> <!-- xmlns:atom -->
<address>...</address> <!-- string -->
<xal:AddressDetails>...</xal:AddressDetails> <!-- xmlns:xal -->
<phoneNumber>...</phoneNumber> <!-- string -->
<Snippet maxLines="2">...</Snippet> <!-- string -->
<description>...</description> <!-- string -->
<AbstractView>...</AbstractView> <!-- Camera or LookAt -->
<TimePrimitive>...</TimePrimitive> <!-- TimeStamp or TimeSpan -->
<styleUrl>...</styleUrl> <!-- anyURI -->
<StyleSelector>...</StyleSelector>
<Region>...</Region>
<Metadata>...</Metadata> <!-- deprecated in KML 2.2 -->
<ExtendedData>...</ExtendedData> <!-- new in KML 2.2 -->
<-- /Feature -->
Extends:public Tour createAndAddTour()
Tour and adds it to feature.
This method is a short version for:
Tour tour = new Tour();
this.getFeature().add(tour); public ScreenOverlay createAndAddScreenOverlay()
ScreenOverlay and adds it to feature.
This method is a short version for:
ScreenOverlay screenOverlay = new ScreenOverlay();
this.getFeature().add(screenOverlay); public PhotoOverlay createAndAddPhotoOverlay()
PhotoOverlay and adds it to feature.
This method is a short version for:
PhotoOverlay photoOverlay = new PhotoOverlay();
this.getFeature().add(photoOverlay); public GroundOverlay createAndAddGroundOverlay()
GroundOverlay and adds it to feature.
This method is a short version for:
GroundOverlay groundOverlay = new GroundOverlay();
this.getFeature().add(groundOverlay); public NetworkLink createAndAddNetworkLink()
NetworkLink and adds it to feature.
This method is a short version for:
NetworkLink networkLink = new NetworkLink();
this.getFeature().add(networkLink); public Folder createAndAddFolder()
Folder and adds it to feature.
This method is a short version for:
Folder folder = new Folder();
this.getFeature().add(folder); public Document createAndAddDocument()
Document and adds it to feature.
This method is a short version for:
Document document = new Document();
this.getFeature().add(document); public Placemark createAndAddPlacemark()
Placemark and adds it to feature.
This method is a short version for:
Placemark placemark = new Placemark();
this.getFeature().add(placemark); public Delete addToFeature(Feature feature)
feature - Objects of the following type are allowed in the list: <ContainerJAXBElement<GroundOverlayJAXBElement<NetworkLinkJAXBElement<FolderJAXBElement<PhotoOverlayJAXBElement<DocumentJAXBElement<TourJAXBElement<ScreenOverlayJAXBElement<FeatureJAXBElement<PlacemarkJAXBElement<Overlaypublic Delete withFeature(List<Feature> feature)
feature - required parameter#setFeature(List) Copyright © 2014 Micromata GmbH. All rights reserved.