Package ucar.unidata.data.gis
Class KmlInfo
java.lang.Object
ucar.unidata.data.DataChoice
ucar.unidata.data.DirectDataChoice
ucar.unidata.data.gis.KmlInfo
- Direct Known Subclasses:
KmlImageElement
,KmlPoints
,KmlPolygons
Class KmlInfo holds information about a kml node or group of nodes
- Version:
- $Revision: 1.11 $
- Author:
- IDV Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Address tagstatic final String
kml tagstatic final String
xml tagsstatic final String
xml tagstatic final String
kml tagFields inherited from class ucar.unidata.data.DirectDataChoice
dataSource, PROP_WRITEDATASOURCE
Fields inherited from class ucar.unidata.data.DataChoice
description, id, NULL_DATASELECTION, NULL_PROPERTIES, NULL_REQUESTPROPERTIES, parent, PROP_ICON, PROP_REQUESTER, properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget the categoriesabstract Data
getData
(JsonDataSource dataSource, Object loadId) abstract Data
getData
(KmlDataSource dataSource, Object loadId) Abstract method that returns the visad datagetName()
Get the Name property.void
Set the Name property.Methods inherited from class ucar.unidata.data.DirectDataChoice
addDataChangeListener, basicallyEquals, cloneMe, equals, getAllDateTimes, getAllLevels, getData, getDataSource, getDataSources, getFinalDataChoices, getFullDescription, getSelectedDateTimes, hashCode, initAfterUnPersistence, removeDataChangeListener, setDataSource
Methods inherited from class ucar.unidata.data.DataChoice
addCategory, addCurrentName, addParamNameToCategories, cloneDataChoices, createClone, getAllLevels, getCurrentNames, getData, getData, getDataCategories, getDataCategories, getDataSelection, getDescription, getDisplayCategory, getFixedRequestProperties, getForUser, getId, getIndexedName, getParent, getProperties, getProperty, getProperty, getProperty, getStringId, isEndUserFormula, mergeRequestProperties, setCategories, setDataCategories, setDataSelection, setDescription, setFixedRequestProperties, setId, setLevelSelection, setObjectProperty, setParent, setProperties, setProperty, setProperty, setTimeSelection, toString
-
Field Details
-
TAG_LINESTRING
xml tag- See Also:
-
TAG_ADDRESS
Address tag- See Also:
-
TAG_DESCRIPTION
xml tags- See Also:
-
TAG_COORDINATES
kml tag- See Also:
-
TAG_NAME
kml tag- See Also:
-
-
Constructor Details
-
KmlInfo
public KmlInfo()ctor -
KmlInfo
ctor- Parameters:
node
- kml nodedisplayCategory
- categorydataCategory
- data category
-
KmlInfo
name- Parameters:
name
- namedisplayCategory
- categorydataCategory
- data category
-
-
Method Details
-
getCategories
get the categories- Overrides:
getCategories
in classDataChoice
- Returns:
- categories
-
getData
public abstract Data getData(KmlDataSource dataSource, Object loadId) throws VisADException, RemoteException Abstract method that returns the visad data- Parameters:
dataSource
- the sourceloadId
- to stop load- Returns:
- visad data this kml info represents
- Throws:
RemoteException
- On badnessVisADException
- On badness
-
getData
public abstract Data getData(JsonDataSource dataSource, Object loadId) throws VisADException, RemoteException - Throws:
VisADException
RemoteException
-
setName
Set the Name property.- Overrides:
setName
in classDataChoice
- Parameters:
value
- The new value for Name
-
getName
Get the Name property.- Overrides:
getName
in classDataChoice
- Returns:
- The Name
-