Class WmsHandler

java.lang.Object
ucar.unidata.idv.chooser.XmlHandler
ucar.unidata.idv.chooser.WmsHandler

public class WmsHandler extends XmlHandler
This handles capability xml document from web maps servers (WMS). It is used by the XmlChooser
Version:
$Revision: 1.53 $Date: 2007/07/09 22:59:58 $
Author:
IDV development team
  • Constructor Details

    • WmsHandler

      public WmsHandler(XmlChooser chooser, Element root, String path)
      Create the handler
      Parameters:
      chooser - The chooser we are in
      root - The root of the xml tree
      path - The url path of the xml document
  • Method Details

    • updateStatus

      protected void updateStatus()
      _more_
      Overrides:
      updateStatus in class XmlHandler
    • doMakeContents

      protected JComponent doMakeContents()
      Construct and return the UI component. We use an XmlTree to show the XML and a
      Specified by:
      doMakeContents in class XmlHandler
      Returns:
      The GUI
    • doLoad

      public void doLoad()
      The user has pressed the 'Load' button. Check if a node is selected and if so create the WMS data source.
      Specified by:
      doLoad in class XmlHandler
    • convertToKml

      public static void convertToKml(String url) throws Exception
      Humm??
      Parameters:
      url - Humm
      Throws:
      Exception - On badness
    • main

      public static void main(String[] args) throws Exception
      test
      Parameters:
      args - args
      Throws:
      Exception - On badness