public abstract class KmlInfo extends DirectDataChoice
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG_ADDRESS
Address tag
|
static java.lang.String |
TAG_COORDINATES
kml tag
|
static java.lang.String |
TAG_DESCRIPTION
xml tags
|
static java.lang.String |
TAG_LINESTRING
xml tag
|
static java.lang.String |
TAG_NAME
kml tag
|
dataSource, PROP_WRITEDATASOURCE
description, id, NULL_DATASELECTION, NULL_PROPERTIES, NULL_REQUESTPROPERTIES, parent, PROP_ICON, PROP_REQUESTER, properties
Constructor and Description |
---|
KmlInfo()
ctor
|
KmlInfo(org.w3c.dom.Element node,
java.lang.String displayCategory,
java.lang.String dataCategory)
ctor
|
KmlInfo(java.lang.String name,
java.lang.String displayCategory,
java.lang.String dataCategory)
name
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getCategories()
get the categories
|
abstract visad.Data |
getData(JsonDataSource dataSource,
java.lang.Object loadId) |
abstract visad.Data |
getData(KmlDataSource dataSource,
java.lang.Object loadId)
Abstract method that returns the visad data
|
java.lang.String |
getName()
Get the Name property.
|
void |
setName(java.lang.String value)
Set the Name property.
|
addDataChangeListener, basicallyEquals, cloneMe, equals, getAllDateTimes, getAllLevels, getData, getDataSource, getDataSources, getFinalDataChoices, getFullDescription, getSelectedDateTimes, hashCode, initAfterUnPersistence, removeDataChangeListener, setDataSource
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
public static final java.lang.String TAG_LINESTRING
public static final java.lang.String TAG_ADDRESS
public static final java.lang.String TAG_DESCRIPTION
public static final java.lang.String TAG_COORDINATES
public static final java.lang.String TAG_NAME
public KmlInfo()
public KmlInfo(org.w3c.dom.Element node, java.lang.String displayCategory, java.lang.String dataCategory)
node
- kml nodedisplayCategory
- categorydataCategory
- data categorypublic KmlInfo(java.lang.String name, java.lang.String displayCategory, java.lang.String dataCategory)
name
- namedisplayCategory
- categorydataCategory
- data categorypublic java.util.List getCategories()
getCategories
in class DataChoice
public abstract visad.Data getData(KmlDataSource dataSource, java.lang.Object loadId) throws visad.VisADException, java.rmi.RemoteException
dataSource
- the sourceloadId
- to stop loadjava.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic abstract visad.Data getData(JsonDataSource dataSource, java.lang.Object loadId) throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
java.rmi.RemoteException
public void setName(java.lang.String value)
setName
in class DataChoice
value
- The new value for Namepublic java.lang.String getName()
getName
in class DataChoice