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 StringAddress tagstatic final Stringkml tagstatic final Stringxml tagsstatic final Stringxml tagstatic final Stringkml tagFields inherited from class ucar.unidata.data.DirectDataChoice
dataSource, PROP_WRITEDATASOURCEFields 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 DatagetData(JsonDataSource dataSource, Object loadId) abstract DatagetData(KmlDataSource dataSource, Object loadId) Abstract method that returns the visad datagetName()Get the Name property.voidSet 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, setDataSourceMethods 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:
getCategoriesin 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:
VisADExceptionRemoteException
-
setName
Set the Name property.- Overrides:
setNamein classDataChoice- Parameters:
value- The new value for Name
-
getName
Get the Name property.- Overrides:
getNamein classDataChoice- Returns:
- The Name
-