Class TLcdKML22Link
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.util.TLcdKML22BasicLink
com.luciad.format.kml22.model.util.TLcdKML22Link
- All Implemented Interfaces:
ILcdDataObject
,ILcdCache
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Domain class modeling the KML LinkType type.
- Since:
- 10.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theBasicLinkObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theBasicLinkSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to thehref
element.static final TLcdDataProperty
Data property that maps to thehttpQuery
element.static final QName
static final QName
static final TLcdDataProperty
Data property that maps to theLinkObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theLinkSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to therefreshInterval
element.static final TLcdDataProperty
Data property that maps to therefreshMode
element.static final TLcdDataProperty
Data property that holds the type of this instance.static final QName
Url deprecated in 2.2static final TLcdDataProperty
Data property that maps to theviewBoundScale
element.static final TLcdDataProperty
Data property that maps to theviewFormat
element.static final TLcdDataProperty
Data property that maps to theviewRefreshMode
element.static final TLcdDataProperty
Data property that maps to theviewRefreshTime
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionTLcdKML22Link
(TLcdDataType aType) Creates a newTLcdKML22Link
with a customTLcdDataType
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears the cache.Returns a deep clone of this object.getCachedObject
(Object aKey) Looks up and returns the cached Object corresponding to the given key.getHref()
Returns the value of the property that maps to thehref
element.Returns the value of the property that maps to thehttpQuery
element.Returns the value of the property that maps to therefreshInterval
element.Returns the value of the property that maps to therefreshMode
element.getType()
Returns the value of the property that holds the type of this instance.Returns the value of the property that maps to theviewBoundScale
element.Returns the value of the property that maps to theviewFormat
element.Returns a set of strings used as parameter keys in the view format.Returns the value of the property that maps to theviewRefreshMode
element.Returns the value of the property that maps to theviewRefreshTime
element.void
insertIntoCache
(Object aKey, Object aValue) Inserts a cache Object corresponding to the given key Object.removeCachedObject
(Object aKey) Looks up and removes the cached Object corresponding to the given key.void
Sets the value of the property that maps to thehref
element.void
setHttpQuery
(String aValue) Sets the value of the property that maps to thehttpQuery
element.void
setRefreshInterval
(Double aValue) Sets the value of the property that maps to therefreshInterval
element.void
setRefreshMode
(ELcdKML22RefreshMode aValue) Sets the value of the property that maps to therefreshMode
element.void
Sets the value of the property that holds the type of this instance.void
setViewBoundScale
(Double aValue) Sets the value of the property that maps to theviewBoundScale
element.void
setViewFormat
(String aValue) Sets the value of the property that maps to theviewFormat
element.void
Sets the value of the property that maps to theviewRefreshMode
element.void
setViewRefreshTime
(Double aValue) Sets the value of the property that maps to theviewRefreshTime
element.Methods inherited from class com.luciad.format.kml22.model.util.TLcdKML22BasicLink
getKMLSourceName, setKMLSourceName
Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
-
Field Details
-
REFRESH_MODE_PROPERTY
Data property that maps to therefreshMode
element. The possible values for this property are instances ofELcdKML22RefreshMode
. -
REFRESH_INTERVAL_PROPERTY
Data property that maps to therefreshInterval
element. The possible values for this property are instances ofDouble
. -
VIEW_REFRESH_MODE_PROPERTY
Data property that maps to theviewRefreshMode
element. The possible values for this property are instances ofELcdKML22ViewRefreshMode
. -
VIEW_REFRESH_TIME_PROPERTY
Data property that maps to theviewRefreshTime
element. The possible values for this property are instances ofDouble
. -
VIEW_BOUND_SCALE_PROPERTY
Data property that maps to theviewBoundScale
element. The possible values for this property are instances ofDouble
. -
VIEW_FORMAT_PROPERTY
Data property that maps to theviewFormat
element. The possible values for this property are instances ofString
. -
HTTP_QUERY_PROPERTY
Data property that maps to thehttpQuery
element. The possible values for this property are instances ofString
. -
LINK_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theLinkSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
LINK_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theLinkObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
. -
TYPE_PROPERTY
Data property that holds the type of this instance. The possible values for this property are the publicQName
constants defined in this class. -
LINK
-
ICON
-
URL
Url deprecated in 2.2 -
HREF_PROPERTY
Data property that maps to thehref
element. The possible values for this property are instances ofString
. -
BASIC_LINK_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theBasicLinkSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
BASIC_LINK_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theBasicLinkObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML22Link
Creates a newTLcdKML22Link
with a customTLcdDataType
.- Parameters:
aType
- a customTLcdDataType
-
-
Method Details
-
insertIntoCache
Description copied from interface:ILcdCache
Inserts a cache Object corresponding to the given key Object.- Specified by:
insertIntoCache
in interfaceILcdCache
- Parameters:
aKey
- the key Object that will be used to identify the Object. The key must therefore be a unique identifier, typically the caller itself:insertIntoCache(this, ...)
.aValue
- the Object to be cached.
-
removeCachedObject
Description copied from interface:ILcdCache
Looks up and removes the cached Object corresponding to the given key.- Specified by:
removeCachedObject
in interfaceILcdCache
- Parameters:
aKey
- the key Object that was used for storing the cache Object.- Returns:
- the cached Object, or null if there was no Object corresponding to the given key.
-
clearCache
public void clearCache()Description copied from interface:ILcdCache
Clears the cache.- Specified by:
clearCache
in interfaceILcdCache
-
getCachedObject
Description copied from interface:ILcdCache
Looks up and returns the cached Object corresponding to the given key.- Specified by:
getCachedObject
in interfaceILcdCache
- Parameters:
aKey
- the key Object that was used for storing the cache Object.- Returns:
- the cached Object, or null if there is no Object corresponding to the given key.
-
getRefreshInterval
Returns the value of the property that maps to therefreshInterval
element.- Returns:
- the value of the
REFRESH_INTERVAL_PROPERTY
property.
-
getViewBoundScale
Returns the value of the property that maps to theviewBoundScale
element.- Returns:
- the value of the
VIEW_BOUND_SCALE_PROPERTY
property.
-
getViewRefreshTime
Returns the value of the property that maps to theviewRefreshTime
element.- Returns:
- the value of the
VIEW_REFRESH_TIME_PROPERTY
property.
-
getViewFormatParameters
Returns a set of strings used as parameter keys in the view format.- Returns:
- A set of strings used as parameter keys in the view format.
- See Also:
-
clone
Description copied from class:TLcdDataObject
Returns a deep clone of this object. If the clone is not already present in the dictionary, a new instance if created as follows:- First, a new instance is created using Java's clone() mechanism.
- Then, all properties of this object are cloned and set on the newly created
instance. A property is cloned as follows:
- If the property value is an
ILcdDataObject
, the value is cloned by first creating a new instance via thevalue.getDataType().newInstance()
method, and then cloning its properties one by one. - If the value implements
ILcdDeepCloneable
orILcdCloneable
then this interface is used to clone the value. - Otherwise, the property value is copied by reference.
- If the property value is an
- Specified by:
clone
in interfaceILcdDeepCloneable
- Overrides:
clone
in classTLcdKML22BasicLink
- Parameters:
aObjectDictionary
- the Object dictionary that keeps track of the objects for which a clone has already been made, and their corresponding clone Object.- Returns:
- a deep clone of this object
-
getRefreshMode
Returns the value of the property that maps to therefreshMode
element.- Returns:
- the value of the
REFRESH_MODE_PROPERTY
property.
-
setRefreshMode
Sets the value of the property that maps to therefreshMode
element.- Parameters:
aValue
- the value to set for theREFRESH_MODE_PROPERTY
property.
-
setRefreshInterval
Sets the value of the property that maps to therefreshInterval
element.- Parameters:
aValue
- the value to set for theREFRESH_INTERVAL_PROPERTY
property.
-
getViewRefreshMode
Returns the value of the property that maps to theviewRefreshMode
element.- Returns:
- the value of the
VIEW_REFRESH_MODE_PROPERTY
property.
-
setViewRefreshMode
Sets the value of the property that maps to theviewRefreshMode
element.- Parameters:
aValue
- the value to set for theVIEW_REFRESH_MODE_PROPERTY
property.
-
setViewRefreshTime
Sets the value of the property that maps to theviewRefreshTime
element.- Parameters:
aValue
- the value to set for theVIEW_REFRESH_TIME_PROPERTY
property.
-
setViewBoundScale
Sets the value of the property that maps to theviewBoundScale
element.- Parameters:
aValue
- the value to set for theVIEW_BOUND_SCALE_PROPERTY
property.
-
getViewFormat
Returns the value of the property that maps to theviewFormat
element.- Returns:
- the value of the
VIEW_FORMAT_PROPERTY
property.
-
setViewFormat
Sets the value of the property that maps to theviewFormat
element.- Parameters:
aValue
- the value to set for theVIEW_FORMAT_PROPERTY
property.
-
getHttpQuery
Returns the value of the property that maps to thehttpQuery
element.- Returns:
- the value of the
HTTP_QUERY_PROPERTY
property.
-
setHttpQuery
Sets the value of the property that maps to thehttpQuery
element.- Parameters:
aValue
- the value to set for theHTTP_QUERY_PROPERTY
property.
-
getType
Returns the value of the property that holds the type of this instance.The possible values for this property are the public
QName
constants defined in this class.- Returns:
- the value of the
TYPE_PROPERTY
property.
-
setType
Sets the value of the property that holds the type of this instance.The possible values for this property are the public
QName
constants defined in this class.- Parameters:
aValue
- the value to set for theTYPE_PROPERTY
property.
-
getHref
Returns the value of the property that maps to thehref
element.not anyURI due to $[x] substitution in PhotoOverlay
- Returns:
- the value of the
HREF_PROPERTY
property.
-
setHref
Sets the value of the property that maps to thehref
element.not anyURI due to $[x] substitution in PhotoOverlay
- Parameters:
aValue
- the value to set for theHREF_PROPERTY
property.
-