Class RESTLayerGroupList
- java.lang.Object
-
- it.geosolutions.geoserver.rest.decoder.RESTAbstractList<NameLinkElem>
-
- it.geosolutions.geoserver.rest.decoder.RESTLayerGroupList
-
- All Implemented Interfaces:
java.lang.Iterable<NameLinkElem>
public class RESTLayerGroupList extends RESTAbstractList<NameLinkElem>
Parses list of summary data about LayerGroups.This is the XML REST representation:
<layerGroups> <layerGroup> <name>tiger-ny</name> <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/layergroups/tiger-ny.xml" type="application/xml"/> </layerGroup> <layerGroup> <name>spearfish</name> <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/layergroups/spearfish.xml" type="application/xml"/> </layerGroup> <layerGroup> <name>tasmania</name> <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/layergroups/tasmania.xml" type="application/xml"/> </layerGroup> </layerGroups>- Version:
- $Id: $
- Author:
- ETj (etj at geo-solutions.it)
-
-
Field Summary
-
Fields inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
elementList
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRESTLayerGroupList(org.jdom.Element list)Constructor for RESTLayerGroupList.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RESTLayerGroupListbuild(java.lang.String response)build-
Methods inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
createElement, get, getNames, isEmpty, iterator, size
-
-
-
-
Method Detail
-
build
public static RESTLayerGroupList build(java.lang.String response)
build
- Parameters:
response- aStringobject.- Returns:
- a
RESTLayerGroupListobject.
-
-