it.geosolutions.geoserver.rest.decoder
Class RESTLayerGroupList

java.lang.Object
  extended by it.geosolutions.geoserver.rest.decoder.RESTAbstractList<NameLinkElem>
      extended by it.geosolutions.geoserver.rest.decoder.RESTLayerGroupList
All Implemented Interfaces:
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>

Author:
ETj (etj at geo-solutions.it)

Field Summary
 
Fields inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
elementList
 
Constructor Summary
protected RESTLayerGroupList(org.jdom.Element list)
           
 
Method Summary
static RESTLayerGroupList build(String response)
           
 
Methods inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
createElement, get, getNames, isEmpty, iterator, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RESTLayerGroupList

protected RESTLayerGroupList(org.jdom.Element list)
Method Detail

build

public static RESTLayerGroupList build(String response)


Copyright © 2007-2013 GeoSolutions. All Rights Reserved.