public class Update extends Object implements Cloneable
Specifies an addition, change, or deletion to KML data that has already been loaded
using the specified URL. The
With
<Update> <targetHref>...<targetHref> <!-- URL --> <Change>...</Change> <Create>...</Create> <Delete>...</Delete> </Update>Contained By:
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
createOrDeleteOrChange |
protected String |
targetHref
|
protected List<Object> |
updateExtension |
| Constructor and Description |
|---|
Update(String targetHref,
List<Object> createOrDeleteOrChange)
Value constructor with only mandatory fields
|
| Modifier and Type | Method and Description |
|---|---|
Update |
addToCreateOrDeleteOrChange(Object createOrDeleteOrChange)
add a value to the createOrDeleteOrChange property collection
|
Update |
addToUpdateExtension(Object updateExtension)
add a value to the updateExtension property collection
|
Update |
clone() |
boolean |
equals(Object obj) |
List<Object> |
getCreateOrDeleteOrChange() |
String |
getTargetHref() |
List<Object> |
getUpdateExtension() |
int |
hashCode() |
void |
setCreateOrDeleteOrChange(List<Object> createOrDeleteOrChange) |
void |
setTargetHref(String value) |
void |
setUpdateExtension(List<Object> updateExtension) |
Update |
withUpdateExtension(List<Object> updateExtension)
fluent setter
|
protected String targetHref
A URL that specifies the .kml or .kmz file whose data (within Google Earth) is to
be modified by an
Specifies the texture file to be fetched by Google Earth. This reference can be a relative reference to an image file within the .kmz archive, or it can be an absolute reference to the file (for example, a URL).
public void setTargetHref(String value)
value - allowed object is
StringtargetHrefpublic List<Object> getCreateOrDeleteOrChange()
createOrDeleteOrChangepublic void setCreateOrDeleteOrChange(List<Object> createOrDeleteOrChange)
createOrDeleteOrChange - createOrDeleteOrChangepublic Update addToCreateOrDeleteOrChange(Object createOrDeleteOrChange)
public void setUpdateExtension(List<Object> updateExtension)
updateExtension - updateExtensionpublic Update addToUpdateExtension(Object updateExtension)
updateExtension - Objects of the following type are allowed in the list: Objectpublic Update withUpdateExtension(List<Object> updateExtension)
updateExtension - required parameter#setUpdateExtension(ListCopyright © 2014 Micromata GmbH. All rights reserved.