Class KmlImageElement

Direct Known Subclasses:
KmlGroundOverlay, KmlPhotoOverlay

public abstract class KmlImageElement extends KmlInfo
Class KmlImageElement represents a ground overlay in KML
Version:
$Revision: 1.12 $
Author:
IDV Development Team
  • Field Details

  • Constructor Details

    • KmlImageElement

      public KmlImageElement()
      ctor
    • KmlImageElement

      public KmlImageElement(Element node, String displayCategory, String baseUrl)
      ctor
      Parameters:
      node - kml node
      displayCategory - display category
      baseUrl - url of the kml doc
  • Method Details

    • getHref

      public static String getHref(Element node)
      Find the href element
      Parameters:
      node - node
      Returns:
      href
    • getImage

      public Image getImage(KmlDataSource dataSource) throws VisADException, RemoteException
      get the image data
      Parameters:
      dataSource - data source
      Returns:
      image data
      Throws:
      RemoteException - On badness
      VisADException - On badness
    • getImage

      public Image getImage(JsonDataSource dataSource) throws VisADException, RemoteException
      get the image data
      Parameters:
      dataSource - data source
      Returns:
      image data
      Throws:
      RemoteException - On badness
      VisADException - On badness
    • setHref

      public void setHref(String value)
      Set the Href property.
      Parameters:
      value - The new value for Href
    • getHref

      public String getHref()
      Get the Href property.
      Returns:
      The Href
    • setBaseUrl

      public void setBaseUrl(String value)
      Set the BaseUrl property.
      Parameters:
      value - The new value for BaseUrl
    • getBaseUrl

      public String getBaseUrl()
      Get the BaseUrl property.
      Returns:
      The BaseUrl