nl.itc.RIMapper
Class WMSGetCapabilities
java.lang.Object
nl.itc.RIMapper.WMSGetCapabilities
public class WMSGetCapabilities
- extends Object
Handles a WMS 1.1.1 GetCapabilities request.
©2004-2011 International Institute for Geo-information Science and Earth
Observation (ITC)
Licensed under a Creative Commons
Attribution-NonCommercial-ShareAlike 2.5 License. see
http://creativecommons.org/licenses/by-nc-sa/2.5/
- Version:
- 2.2 [Sep 2011]
- Author:
- Barend Köbben - kobben@itc.nl
WMSGetCapabilities
public WMSGetCapabilities(WMSCapabilities theWMSCapabilities)
- Constructor
setXMLValue
public void setXMLValue(Node StartNode,
String NodeName,
String theValue)
throws IOException
- Throws:
IOException
setXMLValue
public void setXMLValue(Node thisNode,
String theValue)
throws IOException
- Throws:
IOException
setXMLAttribute
public void setXMLAttribute(Node StartNode,
String NodeName,
String theAttribute,
String theValue)
throws IOException
- Throws:
IOException
setXMLAttribute
public void setXMLAttribute(Node thisNode,
String theAttribute,
String theValue)
throws IOException
- Throws:
IOException
doGetCapabilities
public StringBuffer doGetCapabilities(String BasePath,
String WMSPath)
throws RIMapperException
- Gets the necessary data out of
WMSCapabilities
class and adds the required XML nodes to the
skeleton capabilitiesTemplate.xml.
- Parameters:
BasePath
- the URL of the (TomCat) serverWMSPath
- the URL of the WMS instance
- Returns:
- a StringBuffer with the standardized capabilities XML
- Throws:
RIMapperException