Class RESTWms


  • public class RESTWms
    extends RESTResource
    Parse WMSs returned as XML REST objects.

    This is the XML REST representation:

    
    <wmsLayer>
    	<name>comunilazio</name>
    	<nativeName>lait:comunilazio</nativeName>
    	<namespace>
    		<name>arit</name>
    		<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://172.27.30.25:8080/geoserver/rest/namespaces/arit.xml" type="application/xml"/>
    	</namespace>
    	<title>comunilazio</title>
    	<description/>
    	<keywords>
    		<string>features</string>
    		<string>comunilazio</string>
    	</keywords>
    	<nativeCRS>
    		GEOGCS["WGS 84", DATUM["World Geodetic System 1984", SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], AXIS["Geodetic longitude", EAST], AXIS["Geodetic latitude", NORTH], AUTHORITY["EPSG","4326"]]
    	</nativeCRS>
    	<srs>EPSG:4326</srs>
    	<nativeBoundingBox>
    		<minx>11.4482128</minx>
    		<maxx>14.0288013</maxx>
    		<miny>40.7848334</miny>
    		<maxy>42.8396541</maxy>
    		<crs>EPSG:4326</crs>
    	</nativeBoundingBox>
    	<latLonBoundingBox>
    		<minx>11.4482128</minx>
    		<maxx>14.0288013</maxx>
    		<miny>40.7848334</miny>
    		<maxy>42.8396541</maxy>
    		<crs>
    			GEOGCS["WGS84(DD)", DATUM["WGS84", SPHEROID["WGS84", 6378137.0, 298.257223563]], PRIMEM["Greenwich", 0.0], UNIT["degree", 0.017453292519943295], AXIS["Geodetic longitude", EAST], AXIS["Geodetic latitude", NORTH]]
    		</crs>
    	</latLonBoundingBox>
    	<projectionPolicy>FORCE_DECLARED</projectionPolicy>
    	<enabled>true</enabled>
    	<metadata>
    		<entry key="cachingEnabled">false</entry>
    	</metadata>
    	<store class="wmsStore">
    		<name>regione</name>
    		<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://172.27.30.25:8080/geoserver/rest/workspaces/arit/wmsstores/regione.xml" type="application/xml"/>
    	</store>
    </wmsLayer>
     
    Version:
    $Id: $
    Author:
    cip
    • Constructor Detail

      • RESTWms

        public RESTWms​(org.jdom.Element resource)

        Constructor for RESTWms.

        Parameters:
        resource - a Element object.
      • RESTWms

        public RESTWms​(RESTResource resource)

        Constructor for RESTWms.

        Parameters:
        resource - a RESTResource object.
    • Method Detail

      • build

        public static RESTWms build​(java.lang.String response)
      • getNativeCRS

        public java.lang.String getNativeCRS()

        getNativeCRS

        Overrides:
        getNativeCRS in class RESTResource
        Returns:
        a String object.
      • getSRS

        public java.lang.String getSRS()

        getSRS

        Returns:
        a String object.
      • getDimensionInfo

        public java.util.List<RESTDimensionInfo> getDimensionInfo()

        getDimensionInfo

        Returns:
        a List object.
      • getParametersList

        public java.util.Map<java.lang.String,​java.lang.String> getParametersList()
        Retrieves the list of parameters for this wms.
        Returns:
        a Map where the key is the name for the parameter and the value is the value for the parameter.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object