public class TLcdKML22BasicLink extends TLcdKML22AbstractObject
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. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22BasicLink(TLcdDataType aType)
Creates a new
TLcdKML22Change with a custom TLcdDataType . |
Modifier and Type | Method and Description |
---|---|
TLcdDataObject |
clone(Map aObjectDictionary)
Returns a deep clone of this object.
|
String |
getHref()
Returns the value of the property that maps to the
href element. |
String |
getKMLSourceName()
Gets the source name of the KML document that contains this basic link.
|
void |
setHref(String aValue)
Sets the value of the property that maps to the
href element. |
void |
setKMLSourceName(String aKMLSourceName)
Sets the source name of the KML document that contains this basic link.
|
getId, getTargetId, setId, setTargetId
clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
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 TLcdKML22BasicLink(TLcdDataType aType)
TLcdKML22Change
with a custom TLcdDataType
.aType
- a custom TLcdDataType
public void setKMLSourceName(String aKMLSourceName)
aKMLSourceName
- the source name of the KML document that contains this basic link.public String getKMLSourceName()
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 TLcdDataObject
aObjectDictionary
- the Object dictionary that keeps track of the objects for which a clone has already been made,
and their corresponding clone Object.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.