Package ucar.unidata.idv.chooser
Class WmsHandler
java.lang.Object
ucar.unidata.idv.chooser.XmlHandler
ucar.unidata.idv.chooser.WmsHandler
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
ConstructorsConstructorDescriptionWmsHandler(XmlChooser chooser, Element root, String path) Create the handler -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconvertToKml(String url) Humm??voiddoLoad()The user has pressed the 'Load' button.protected JComponentConstruct and return the UI component.static voidtestprotected void_more_Methods inherited from class ucar.unidata.idv.chooser.XmlHandler
getContents, getPath
-
Constructor Details
-
WmsHandler
Create the handler- Parameters:
chooser- The chooser we are inroot- The root of the xml treepath- The url path of the xml document
-
-
Method Details
-
updateStatus
protected void updateStatus()_more_- Overrides:
updateStatusin classXmlHandler
-
doMakeContents
Construct and return the UI component. We use anXmlTreeto show the XML and a- Specified by:
doMakeContentsin classXmlHandler- 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:
doLoadin classXmlHandler
-
convertToKml
Humm??- Parameters:
url- Humm- Throws:
Exception- On badness
-
main
test- Parameters:
args- args- Throws:
Exception- On badness
-