public class TLcdKML22Link extends TLcdKML22BasicLink implements ILcdCache
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
BASIC_LINK_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
BasicLinkObjectExtensionGroup element. |
static TLcdDataProperty |
BASIC_LINK_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
BasicLinkSimpleExtensionGroup element. |
static TLcdDataProperty |
HREF_PROPERTY
Data property that maps to the
href element. |
static TLcdDataProperty |
HTTP_QUERY_PROPERTY
Data property that maps to the
httpQuery element. |
static QName |
ICON |
static QName |
LINK |
static TLcdDataProperty |
LINK_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
LinkObjectExtensionGroup element. |
static TLcdDataProperty |
LINK_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
LinkSimpleExtensionGroup element. |
static TLcdDataProperty |
REFRESH_INTERVAL_PROPERTY
Data property that maps to the
refreshInterval element. |
static TLcdDataProperty |
REFRESH_MODE_PROPERTY
Data property that maps to the
refreshMode element. |
static TLcdDataProperty |
TYPE_PROPERTY
Data property that holds the type of this instance.
|
static QName |
URL
Url deprecated in 2.2
|
static TLcdDataProperty |
VIEW_BOUND_SCALE_PROPERTY
Data property that maps to the
viewBoundScale element. |
static TLcdDataProperty |
VIEW_FORMAT_PROPERTY
Data property that maps to the
viewFormat element. |
static TLcdDataProperty |
VIEW_REFRESH_MODE_PROPERTY
Data property that maps to the
viewRefreshMode element. |
static TLcdDataProperty |
VIEW_REFRESH_TIME_PROPERTY
Data property that maps to the
viewRefreshTime element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22Link(TLcdDataType aType)
Creates a new
TLcdKML22Link with a custom TLcdDataType . |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clears the cache.
|
TLcdDataObject |
clone(Map aObjectDictionary)
Returns a deep clone of this object.
|
Object |
getCachedObject(Object aKey)
Looks up and returns the cached Object corresponding to the given key.
|
String |
getHref()
Returns the value of the property that maps to the
href element. |
String |
getHttpQuery()
Returns the value of the property that maps to the
httpQuery element. |
Double |
getRefreshInterval()
Returns the value of the property that maps to the
refreshInterval element. |
ELcdKML22RefreshMode |
getRefreshMode()
Returns the value of the property that maps to the
refreshMode element. |
QName |
getType()
Returns the value of the property that holds the type of this instance.
|
Double |
getViewBoundScale()
Returns the value of the property that maps to the
viewBoundScale element. |
String |
getViewFormat()
Returns the value of the property that maps to the
viewFormat element. |
Set<String> |
getViewFormatParameters()
Returns a set of strings used as parameter keys in the view format.
|
ELcdKML22ViewRefreshMode |
getViewRefreshMode()
Returns the value of the property that maps to the
viewRefreshMode element. |
Double |
getViewRefreshTime()
Returns the value of the property that maps to the
viewRefreshTime element. |
void |
insertIntoCache(Object aKey,
Object aValue)
Inserts a cache Object corresponding to the given key Object.
|
Object |
removeCachedObject(Object aKey)
Looks up and removes the cached Object corresponding to the given key.
|
void |
setHref(String aValue)
Sets the value of the property that maps to the
href element. |
void |
setHttpQuery(String aValue)
Sets the value of the property that maps to the
httpQuery element. |
void |
setRefreshInterval(Double aValue)
Sets the value of the property that maps to the
refreshInterval element. |
void |
setRefreshMode(ELcdKML22RefreshMode aValue)
Sets the value of the property that maps to the
refreshMode element. |
void |
setType(QName aValue)
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 the
viewBoundScale element. |
void |
setViewFormat(String aValue)
Sets the value of the property that maps to the
viewFormat element. |
void |
setViewRefreshMode(ELcdKML22ViewRefreshMode aValue)
Sets the value of the property that maps to the
viewRefreshMode element. |
void |
setViewRefreshTime(Double aValue)
Sets the value of the property that maps to the
viewRefreshTime element. |
getKMLSourceName, setKMLSourceName
getId, getTargetId, setId, setTargetId
clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
public static final TLcdDataProperty REFRESH_MODE_PROPERTY
refreshMode
element.
The possible values for this property are instances of ELcdKML22RefreshMode
.public static final TLcdDataProperty REFRESH_INTERVAL_PROPERTY
refreshInterval
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty VIEW_REFRESH_MODE_PROPERTY
viewRefreshMode
element.
The possible values for this property are instances of ELcdKML22ViewRefreshMode
.public static final TLcdDataProperty VIEW_REFRESH_TIME_PROPERTY
viewRefreshTime
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty VIEW_BOUND_SCALE_PROPERTY
viewBoundScale
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty VIEW_FORMAT_PROPERTY
viewFormat
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty HTTP_QUERY_PROPERTY
httpQuery
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty LINK_SIMPLE_EXTENSION_GROUP_PROPERTY
LinkSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty LINK_OBJECT_EXTENSION_GROUP_PROPERTY
LinkObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public static final TLcdDataProperty TYPE_PROPERTY
QName
constants defined in this class.public static final QName LINK
public static final QName ICON
public static final QName URL
public static final TLcdDataProperty HREF_PROPERTY
href
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty BASIC_LINK_SIMPLE_EXTENSION_GROUP_PROPERTY
BasicLinkSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty BASIC_LINK_OBJECT_EXTENSION_GROUP_PROPERTY
BasicLinkObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public TLcdKML22Link(TLcdDataType aType)
TLcdKML22Link
with a custom TLcdDataType
.aType
- a custom TLcdDataType
public void insertIntoCache(Object aKey, Object aValue)
ILcdCache
insertIntoCache
in interface ILcdCache
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.public Object removeCachedObject(Object aKey)
ILcdCache
removeCachedObject
in interface ILcdCache
aKey
- the key Object that was used for storing the cache Object.public void clearCache()
ILcdCache
clearCache
in interface ILcdCache
public Object getCachedObject(Object aKey)
ILcdCache
getCachedObject
in interface ILcdCache
aKey
- the key Object that was used for storing the cache Object.public Double getRefreshInterval()
refreshInterval
element.REFRESH_INTERVAL_PROPERTY
property.public Double getViewBoundScale()
viewBoundScale
element.VIEW_BOUND_SCALE_PROPERTY
property.public Double getViewRefreshTime()
viewRefreshTime
element.VIEW_REFRESH_TIME_PROPERTY
property.public Set<String> getViewFormatParameters()
getViewFormat()
public TLcdDataObject clone(Map aObjectDictionary)
TLcdDataObject
ILcdDataObject
, the value is cloned by first creating a new instance via
the value.getDataType().newInstance()
method, and then cloning its properties one by one.ILcdDeepCloneable
or
ILcdCloneable
then this interface is used to clone the value.clone
in interface ILcdDeepCloneable
clone
in class TLcdKML22BasicLink
aObjectDictionary
- the Object dictionary that keeps track of the objects for which a clone has already been made,
and their corresponding clone Object.public ELcdKML22RefreshMode getRefreshMode()
refreshMode
element.REFRESH_MODE_PROPERTY
property.public void setRefreshMode(ELcdKML22RefreshMode aValue)
refreshMode
element.aValue
- the value to set for the REFRESH_MODE_PROPERTY
property.public void setRefreshInterval(Double aValue)
refreshInterval
element.aValue
- the value to set for the REFRESH_INTERVAL_PROPERTY
property.public ELcdKML22ViewRefreshMode getViewRefreshMode()
viewRefreshMode
element.VIEW_REFRESH_MODE_PROPERTY
property.public void setViewRefreshMode(ELcdKML22ViewRefreshMode aValue)
viewRefreshMode
element.aValue
- the value to set for the VIEW_REFRESH_MODE_PROPERTY
property.public void setViewRefreshTime(Double aValue)
viewRefreshTime
element.aValue
- the value to set for the VIEW_REFRESH_TIME_PROPERTY
property.public void setViewBoundScale(Double aValue)
viewBoundScale
element.aValue
- the value to set for the VIEW_BOUND_SCALE_PROPERTY
property.public String getViewFormat()
viewFormat
element.VIEW_FORMAT_PROPERTY
property.public void setViewFormat(String aValue)
viewFormat
element.aValue
- the value to set for the VIEW_FORMAT_PROPERTY
property.public String getHttpQuery()
httpQuery
element.HTTP_QUERY_PROPERTY
property.public void setHttpQuery(String aValue)
httpQuery
element.aValue
- the value to set for the HTTP_QUERY_PROPERTY
property.public QName getType()
The possible values for this property are the public QName
constants defined in this class.
TYPE_PROPERTY
property.public void setType(QName aValue)
The possible values for this property are the public QName
constants defined in this class.
aValue
- the value to set for the TYPE_PROPERTY
property.public String getHref()
href
element.
not anyURI due to $[x] substitution in PhotoOverlay
HREF_PROPERTY
property.public void setHref(String aValue)
href
element.
not anyURI due to $[x] substitution in PhotoOverlay
aValue
- the value to set for the HREF_PROPERTY
property.