ucar.unidata.data.gis
Class KmlPoints

java.lang.Object
  extended by ucar.unidata.data.gis.KmlInfo
      extended by ucar.unidata.data.gis.KmlPoints

public class KmlPoints
extends KmlInfo

Class KmlPoints holds point info from KML

Version:
$Revision: 1.18 $
Author:
IDV Development Team

Field Summary
static String TAG_COORDINATES
          xml tags
static String TAG_NAME
          xml tags
static String TAG_POINT
          xml tags
 
Fields inherited from class ucar.unidata.data.gis.KmlInfo
TAG_ADDRESS, TAG_DESCRIPTION, TAG_LINESTRING
 
Constructor Summary
KmlPoints()
          ctor
KmlPoints(List nodes, String displayCategory)
          ctor_
 
Method Summary
 List getCoordinates()
          Get the Coordinates property.
 Data getData(KmlDataSource dataSource, Object loadId)
          get the data
 List getNames()
          Get the Names property.
 void setCoordinates(List value)
          Set the Coordinates property.
 void setNames(List value)
          Set the Names property.
 
Methods inherited from class ucar.unidata.data.gis.KmlInfo
getCategories, getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_NAME

public static final String TAG_NAME
xml tags

See Also:
Constant Field Values

TAG_POINT

public static final String TAG_POINT
xml tags

See Also:
Constant Field Values

TAG_COORDINATES

public static final String TAG_COORDINATES
xml tags

See Also:
Constant Field Values
Constructor Detail

KmlPoints

public KmlPoints()
ctor


KmlPoints

public KmlPoints(List nodes,
                 String displayCategory)
ctor_

Parameters:
nodes - xml nodes
displayCategory - category
Method Detail

getData

public Data getData(KmlDataSource dataSource,
                    Object loadId)
             throws VisADException,
                    RemoteException
get the data

Specified by:
getData in class KmlInfo
Parameters:
dataSource - data source
loadId - for loading
Returns:
the point data as xml
Throws:
RemoteException - On badness
VisADException - On badness

setNames

public void setNames(List value)
Set the Names property.

Parameters:
value - The new value for Names

getNames

public List getNames()
Get the Names property.

Returns:
The Names

setCoordinates

public void setCoordinates(List value)
Set the Coordinates property.

Parameters:
value - The new value for Coordinates

getCoordinates

public List getCoordinates()
Get the Coordinates property.

Returns:
The Coordinates