Class TLcdKML22BasicLink
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.util.TLcdKML22BasicLink
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
- Direct Known Subclasses:
TLcdKML22Link
Domain class modeling the KML BasicLinkType 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.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionTLcdKML22BasicLink(TLcdDataType aType) Creates a newTLcdKML22Changewith a customTLcdDataType. -
Method Summary
Modifier and TypeMethodDescriptionReturns a deep clone of this object.getHref()Returns the value of the property that maps to thehrefelement.Gets the source name of the KML document that contains this basic link.voidSets the value of the property that maps to thehrefelement.voidsetKMLSourceName(String aKMLSourceName) Sets the source name of the KML document that contains this basic link.Methods 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
-
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
-
TLcdKML22BasicLink
Creates a newTLcdKML22Changewith a customTLcdDataType.- Parameters:
aType- a customTLcdDataType
-
-
Method Details
-
setKMLSourceName
Sets the source name of the KML document that contains this basic link.- Parameters:
aKMLSourceName- the source name of the KML document that contains this basic link.
-
getKMLSourceName
Gets the source name of the KML document that contains this basic link.- Returns:
- the source name of the KML document that contains this basic link.
-
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 classTLcdDataObject- 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
-
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.
-