ucar.unidata.idv.chooser
Class WmsHandler

java.lang.Object
  extended by ucar.unidata.idv.chooser.XmlHandler
      extended by 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

Field Summary
 
Fields inherited from class ucar.unidata.idv.chooser.XmlHandler
chooser, path, root, tree
 
Constructor Summary
WmsHandler(XmlChooser chooser, Element root, String path)
          Create the handler
 
Method Summary
static void convertToKml(String url)
          Humm??
 void doLoad()
          The user has pressed the 'Load' button.
protected  JComponent doMakeContents()
          Construct and return the UI component.
static void main(String[] args)
          test
protected  void updateStatus()
          _more_
 
Methods inherited from class ucar.unidata.idv.chooser.XmlHandler
getContents, getPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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 UI component

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