it.geosolutions.geoserver.rest.decoder
Class RESTWorkspaceList

java.lang.Object
  extended by it.geosolutions.geoserver.rest.decoder.RESTWorkspaceList
All Implemented Interfaces:
Iterable<RESTWorkspaceList.RESTShortWorkspace>

public class RESTWorkspaceList
extends Object
implements Iterable<RESTWorkspaceList.RESTShortWorkspace>

Parses list of summary data about Workspaces.
Single items are handled by RESTWorkspaceList.RESTShortWorkspace.

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

Nested Class Summary
static class RESTWorkspaceList.RESTShortWorkspace
          Workspace summary info.
 
Constructor Summary
protected RESTWorkspaceList(org.jdom.Element wslistroot)
           
 
Method Summary
static RESTWorkspaceList build(String response)
           
 RESTWorkspaceList.RESTShortWorkspace get(int index)
           
 boolean isEmpty()
           
 Iterator<RESTWorkspaceList.RESTShortWorkspace> iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RESTWorkspaceList

protected RESTWorkspaceList(org.jdom.Element wslistroot)
Method Detail

build

public static RESTWorkspaceList build(String response)

size

public int size()

isEmpty

public boolean isEmpty()

get

public RESTWorkspaceList.RESTShortWorkspace get(int index)

iterator

public Iterator<RESTWorkspaceList.RESTShortWorkspace> iterator()
Specified by:
iterator in interface Iterable<RESTWorkspaceList.RESTShortWorkspace>


Copyright © 2007-2013 GeoSolutions. All Rights Reserved.