it.geosolutions.geoserver.rest.decoder
Class RESTLayerGroup

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

Constructor Summary
RESTLayerGroup(org.jdom.Element layerElem)
           
 
Method Summary
static RESTLayerGroup build(String response)
           
 String getAbstract()
           
protected  double getBound(String edge)
           
 String getCRS()
           
 RESTLayerList getLayerList()
           
 double getMaxX()
           
 double getMaxY()
           
 double getMinX()
           
 double getMinY()
           
 String getMode()
           
 String getName()
           
 RESTPublishedList getPublishedList()
           
 String getRootLayer()
           
 String getTitle()
           
 String getWorkspace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RESTLayerGroup

public RESTLayerGroup(org.jdom.Element layerElem)
Method Detail

build

public static RESTLayerGroup build(String response)

getName

public String getName()

getWorkspace

public String getWorkspace()

getMode

public String getMode()

getTitle

public String getTitle()

getAbstract

public String getAbstract()

getRootLayer

public String getRootLayer()

getLayerList

public RESTLayerList getLayerList()

getPublishedList

public RESTPublishedList getPublishedList()

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-2013 GeoSolutions. All Rights Reserved.