public class KmlContainer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContainerId()
Gets the Container ID if it is specified
|
java.lang.Iterable<KmlContainer> |
getContainers()
Gets an iterable of nested KmlContainers
|
java.lang.Iterable<KmlGroundOverlay> |
getGroundOverlays()
Gets an iterable of KmlGroundOverlay objects
|
java.lang.Iterable<KmlPlacemark> |
getPlacemarks()
Gets an iterable of KmlPlacemarks
|
java.lang.Iterable<java.lang.String> |
getProperties()
Gets an iterable of the properties hashmap entries
|
java.lang.String |
getProperty(java.lang.String propertyName)
Gets the value of a property based on the given key
|
KmlStyle |
getStyle(java.lang.String styleID)
Gets a style based on an ID
|
java.lang.String |
getStyleIdFromMap(java.lang.String styleID)
Gets a style Id from map based on an ID
|
boolean |
hasContainers()
Gets whether the container has containers
|
boolean |
hasPlacemarks()
Gets whether the container has any placemarks
|
boolean |
hasProperties()
Gets whether the container has any properties
|
boolean |
hasProperty(java.lang.String keyValue)
Gets whether the given key exists in the properties
|
java.lang.String |
toString() |
public java.lang.String getContainerId()
public KmlStyle getStyle(java.lang.String styleID)
public java.lang.String getStyleIdFromMap(java.lang.String styleID)
public java.lang.String getProperty(java.lang.String propertyName)
propertyName
- property key to findpublic boolean hasProperties()
public boolean hasProperty(java.lang.String keyValue)
keyValue
- property key to findpublic boolean hasContainers()
public java.lang.Iterable<KmlContainer> getContainers()
public java.lang.Iterable<java.lang.String> getProperties()
public java.lang.Iterable<KmlPlacemark> getPlacemarks()
public boolean hasPlacemarks()
public java.lang.Iterable<KmlGroundOverlay> getGroundOverlays()
public java.lang.String toString()
toString
in class java.lang.Object