it.geosolutions.geoserver.rest.decoder
Class RESTNamespaceList

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

public class RESTNamespaceList
extends Object
implements Iterable<RESTNamespaceList.RESTShortNamespace>

Parses list of summary data about Namespaces.
Single items are handled by RESTNamespaceList.RESTShortNamespace.

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

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

Constructor Detail

RESTNamespaceList

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

build

public static RESTNamespaceList build(String response)

size

public int size()

isEmpty

public boolean isEmpty()

get

public RESTNamespaceList.RESTShortNamespace get(int index)

iterator

public Iterator<RESTNamespaceList.RESTShortNamespace> iterator()
Specified by:
iterator in interface Iterable<RESTNamespaceList.RESTShortNamespace>


Copyright © 2007-2013 GeoSolutions. All Rights Reserved.