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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theBasicLinkObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theBasicLinkSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to thehrefelement.static final TLcdDataPropertyData property that maps to thehttpQueryelement.static final QNamestatic final QNamestatic final TLcdDataPropertyData property that maps to theLinkObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theLinkSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to therefreshIntervalelement.static final TLcdDataPropertyData property that maps to therefreshModeelement.static final TLcdDataPropertyData property that holds the type of this instance.static final QNameUrl deprecated in 2.2static final TLcdDataPropertyData property that maps to theviewBoundScaleelement.static final TLcdDataPropertyData property that maps to theviewFormatelement.static final TLcdDataPropertyData property that maps to theviewRefreshModeelement.static final TLcdDataPropertyData property that maps to theviewRefreshTimeelement.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionTLcdKML22Link(TLcdDataType aType) Creates a newTLcdKML22Linkwith a customTLcdDataType. -
Method Summary
Modifier and TypeMethodDescriptionvoidClears 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 thehrefelement.Returns the value of the property that maps to thehttpQueryelement.Returns the value of the property that maps to therefreshIntervalelement.Returns the value of the property that maps to therefreshModeelement.getType()Returns the value of the property that holds the type of this instance.Returns the value of the property that maps to theviewBoundScaleelement.Returns the value of the property that maps to theviewFormatelement.Returns a set of strings used as parameter keys in the view format.Returns the value of the property that maps to theviewRefreshModeelement.Returns the value of the property that maps to theviewRefreshTimeelement.voidinsertIntoCache(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.voidSets the value of the property that maps to thehrefelement.voidsetHttpQuery(String aValue) Sets the value of the property that maps to thehttpQueryelement.voidsetRefreshInterval(Double aValue) Sets the value of the property that maps to therefreshIntervalelement.voidsetRefreshMode(ELcdKML22RefreshMode aValue) Sets the value of the property that maps to therefreshModeelement.voidSets the value of the property that holds the type of this instance.voidsetViewBoundScale(Double aValue) Sets the value of the property that maps to theviewBoundScaleelement.voidsetViewFormat(String aValue) Sets the value of the property that maps to theviewFormatelement.voidSets the value of the property that maps to theviewRefreshModeelement.voidsetViewRefreshTime(Double aValue) Sets the value of the property that maps to theviewRefreshTimeelement.Methods inherited from class com.luciad.format.kml22.model.util.TLcdKML22BasicLink
getKMLSourceName, setKMLSourceNameMethods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetIdMethods 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 therefreshModeelement. The possible values for this property are instances ofELcdKML22RefreshMode. -
REFRESH_INTERVAL_PROPERTY
Data property that maps to therefreshIntervalelement. The possible values for this property are instances ofDouble. -
VIEW_REFRESH_MODE_PROPERTY
Data property that maps to theviewRefreshModeelement. The possible values for this property are instances ofELcdKML22ViewRefreshMode. -
VIEW_REFRESH_TIME_PROPERTY
Data property that maps to theviewRefreshTimeelement. The possible values for this property are instances ofDouble. -
VIEW_BOUND_SCALE_PROPERTY
Data property that maps to theviewBoundScaleelement. The possible values for this property are instances ofDouble. -
VIEW_FORMAT_PROPERTY
Data property that maps to theviewFormatelement. The possible values for this property are instances ofString. -
HTTP_QUERY_PROPERTY
Data property that maps to thehttpQueryelement. The possible values for this property are instances ofString. -
LINK_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theLinkSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
LINK_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theLinkObjectExtensionGroupelement. 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 publicQNameconstants defined in this class. -
LINK
-
ICON
-
URL
Url deprecated in 2.2 -
HREF_PROPERTY
Data property that maps to thehrefelement. The possible values for this property are instances ofString. -
BASIC_LINK_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theBasicLinkSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
BASIC_LINK_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theBasicLinkObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>.
-
-
Constructor Details
-
TLcdKML22Link
Creates a newTLcdKML22Linkwith a customTLcdDataType.- Parameters:
aType- a customTLcdDataType
-
-
Method Details
-
insertIntoCache
Description copied from interface:ILcdCacheInserts a cache Object corresponding to the given key Object.- Specified by:
insertIntoCachein 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:ILcdCacheLooks up and removes the cached Object corresponding to the given key.- Specified by:
removeCachedObjectin 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:ILcdCacheClears the cache.- Specified by:
clearCachein interfaceILcdCache
-
getCachedObject
Description copied from interface:ILcdCacheLooks up and returns the cached Object corresponding to the given key.- Specified by:
getCachedObjectin 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 therefreshIntervalelement.- Returns:
- the value of the
REFRESH_INTERVAL_PROPERTYproperty.
-
getViewBoundScale
Returns the value of the property that maps to theviewBoundScaleelement.- Returns:
- the value of the
VIEW_BOUND_SCALE_PROPERTYproperty.
-
getViewRefreshTime
Returns the value of the property that maps to theviewRefreshTimeelement.- Returns:
- the value of the
VIEW_REFRESH_TIME_PROPERTYproperty.
-
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:TLcdDataObjectReturns 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
ILcdDeepCloneableorILcdCloneablethen this interface is used to clone the value. - Otherwise, the property value is copied by reference.
- If the property value is an
- Specified by:
clonein interfaceILcdDeepCloneable- Overrides:
clonein 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 therefreshModeelement.- Returns:
- the value of the
REFRESH_MODE_PROPERTYproperty.
-
setRefreshMode
Sets the value of the property that maps to therefreshModeelement.- Parameters:
aValue- the value to set for theREFRESH_MODE_PROPERTYproperty.
-
setRefreshInterval
Sets the value of the property that maps to therefreshIntervalelement.- Parameters:
aValue- the value to set for theREFRESH_INTERVAL_PROPERTYproperty.
-
getViewRefreshMode
Returns the value of the property that maps to theviewRefreshModeelement.- Returns:
- the value of the
VIEW_REFRESH_MODE_PROPERTYproperty.
-
setViewRefreshMode
Sets the value of the property that maps to theviewRefreshModeelement.- Parameters:
aValue- the value to set for theVIEW_REFRESH_MODE_PROPERTYproperty.
-
setViewRefreshTime
Sets the value of the property that maps to theviewRefreshTimeelement.- Parameters:
aValue- the value to set for theVIEW_REFRESH_TIME_PROPERTYproperty.
-
setViewBoundScale
Sets the value of the property that maps to theviewBoundScaleelement.- Parameters:
aValue- the value to set for theVIEW_BOUND_SCALE_PROPERTYproperty.
-
getViewFormat
Returns the value of the property that maps to theviewFormatelement.- Returns:
- the value of the
VIEW_FORMAT_PROPERTYproperty.
-
setViewFormat
Sets the value of the property that maps to theviewFormatelement.- Parameters:
aValue- the value to set for theVIEW_FORMAT_PROPERTYproperty.
-
getHttpQuery
Returns the value of the property that maps to thehttpQueryelement.- Returns:
- the value of the
HTTP_QUERY_PROPERTYproperty.
-
setHttpQuery
Sets the value of the property that maps to thehttpQueryelement.- Parameters:
aValue- the value to set for theHTTP_QUERY_PROPERTYproperty.
-
getType
Returns the value of the property that holds the type of this instance.The possible values for this property are the public
QNameconstants defined in this class.- Returns:
- the value of the
TYPE_PROPERTYproperty.
-
setType
Sets the value of the property that holds the type of this instance.The possible values for this property are the public
QNameconstants defined in this class.- Parameters:
aValue- the value to set for theTYPE_PROPERTYproperty.
-
getHref
Returns the value of the property that maps to thehrefelement.not anyURI due to $[x] substitution in PhotoOverlay
- Returns:
- the value of the
HREF_PROPERTYproperty.
-
setHref
Sets the value of the property that maps to thehrefelement.not anyURI due to $[x] substitution in PhotoOverlay
- Parameters:
aValue- the value to set for theHREF_PROPERTYproperty.
-