Class RESTLayerGroup
- java.lang.Object
-
- it.geosolutions.geoserver.rest.decoder.RESTLayerGroup
-
public class RESTLayerGroup extends java.lang.ObjectParse 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>- Version:
- $Id: $
- Author:
- etj
-
-
Constructor Summary
Constructors Constructor Description RESTLayerGroup(org.jdom.Element layerElem)Constructor for RESTLayerGroup.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RESTLayerGroupbuild(java.lang.String response)buildjava.lang.StringgetAbstract()getAbstractprotected doublegetBound(java.lang.String edge)getBoundjava.lang.StringgetCRS()getCRSRESTLayerListgetLayerList()getLayerListdoublegetMaxX()getMaxXdoublegetMaxY()getMaxYdoublegetMinX()getMinXdoublegetMinY()getMinYjava.lang.StringgetMode()getModejava.lang.StringgetName()getNameRESTPublishedListgetPublishedList()getPublishedListjava.lang.StringgetRootLayer()getRootLayerjava.lang.StringgetTitle()getTitlejava.lang.StringgetWorkspace()getWorkspace
-
-
-
Method Detail
-
build
public static RESTLayerGroup build(java.lang.String response)
build
- Parameters:
response- aStringobject.- Returns:
- a
RESTLayerGroupobject.
-
getName
public java.lang.String getName()
getName
- Returns:
- a
Stringobject.
-
getWorkspace
public java.lang.String getWorkspace()
getWorkspace
- Returns:
- a
Stringobject.
-
getMode
public java.lang.String getMode()
getMode
- Returns:
- a
Stringobject.
-
getTitle
public java.lang.String getTitle()
getTitle
- Returns:
- a
Stringobject.
-
getAbstract
public java.lang.String getAbstract()
getAbstract
- Returns:
- a
Stringobject.
-
getRootLayer
public java.lang.String getRootLayer()
getRootLayer
- Returns:
- a
Stringobject.
-
getLayerList
public RESTLayerList getLayerList()
getLayerList
- Returns:
- a
RESTLayerListobject.
-
getPublishedList
public RESTPublishedList getPublishedList()
getPublishedList
- Returns:
- a
RESTPublishedListobject.
-
getCRS
public java.lang.String getCRS()
getCRS
- Returns:
- a
Stringobject.
-
getBound
protected double getBound(java.lang.String edge)
getBound
- Parameters:
edge- aStringobject.- Returns:
- a double.
-
getMinX
public double getMinX()
getMinX
- Returns:
- a double.
-
getMaxX
public double getMaxX()
getMaxX
- Returns:
- a double.
-
getMinY
public double getMinY()
getMinY
- Returns:
- a double.
-
getMaxY
public double getMaxY()
getMaxY
- Returns:
- a double.
-
-