nl.itc.RIMapper
Class WMSGetCapabilities

java.lang.Object
  extended by 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

Constructor Summary
WMSGetCapabilities(WMSCapabilities theWMSCapabilities)
          Constructor
 
Method Summary
 StringBuffer doGetCapabilities(String BasePath, String WMSPath)
          Gets the necessary data out of WMSCapabilities class and adds the required XML nodes to the skeleton capabilitiesTemplate.xml.
 void setXMLAttribute(Node thisNode, String theAttribute, String theValue)
           
 void setXMLAttribute(Node StartNode, String NodeName, String theAttribute, String theValue)
           
 void setXMLValue(Node thisNode, String theValue)
           
 void setXMLValue(Node StartNode, String NodeName, String theValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSGetCapabilities

public WMSGetCapabilities(WMSCapabilities theWMSCapabilities)
Constructor

Method Detail

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) server
WMSPath - the URL of the WMS instance
Returns:
a StringBuffer with the standardized capabilities XML
Throws:
RIMapperException