it.geosolutions.geoserver.rest.decoder
Class RESTLayerGroup
java.lang.Object
it.geosolutions.geoserver.rest.decoder.RESTLayerGroup
public class RESTLayerGroup
- extends Object
Parse LayerGroups returned as XML REST objects.
This is the XML REST representation:
<layerGroup>
<name>tasmania</name>
<layers>
<layer>
<name>tasmania_state_boundaries</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/layers/tasmania_state_boundaries.xml" type="application/xml"/>
</layer>
<layer>
<name>tasmania_water_bodies</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/layers/tasmania_water_bodies.xml" type="application/xml"/>
</layer>
<layer>
<name>tasmania_roads</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/layers/tasmania_roads.xml" type="application/xml"/>
</layer>
<layer>
<name>tasmania_cities</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/layers/tasmania_cities.xml" type="application/xml"/>
</layer>
</layers>
<styles>
<style/>
<style/>
<style/>
<style/>
</styles>
<bounds>
<minx>143.83482400000003</minx>
<maxx>148.47914100000003</maxx>
<miny>-43.648056</miny>
<maxy>-39.573891</maxy>
<crs>EPSG:4326</crs>
</bounds>
<metadata>
<entry key="rawStyleList"></entry>
</metadata>
</layerGroup>
- Author:
- etj
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESTLayerGroup
public RESTLayerGroup(Element layerElem)
build
public static RESTLayerGroup build(String response)
getName
public String getName()
getLayerList
public RESTLayerList getLayerList()
getCRS
public String getCRS()
getBound
protected double getBound(String edge)
getMinX
public double getMinX()
getMaxX
public double getMaxX()
getMinY
public double getMinY()
getMaxY
public double getMaxY()
Copyright © 2007-2012 GeoSolutions. All Rights Reserved.