Class RESTNamespaceList
- java.lang.Object
-
- it.geosolutions.geoserver.rest.decoder.RESTNamespaceList
-
- All Implemented Interfaces:
java.lang.Iterable<RESTNamespaceList.RESTShortNamespace>
public class RESTNamespaceList extends java.lang.Object implements java.lang.Iterable<RESTNamespaceList.RESTShortNamespace>
Parses list of summary data about Namespaces.
Single items are handled byRESTNamespaceList.RESTShortNamespace.- Version:
- $Id: $
- Author:
- ETj (etj at geo-solutions.it)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRESTNamespaceList.RESTShortNamespaceNamespace summary info.
-
Constructor Summary
Constructors Modifier Constructor Description protectedRESTNamespaceList(org.jdom.Element wslistroot)Constructor for RESTNamespaceList.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RESTNamespaceListbuild(java.lang.String response)buildRESTNamespaceList.RESTShortNamespaceget(int index)getbooleanisEmpty()isEmptyjava.util.Iterator<RESTNamespaceList.RESTShortNamespace>iterator()iteratorintsize()size
-
-
-
Method Detail
-
build
public static RESTNamespaceList build(java.lang.String response)
build
- Parameters:
response- aStringobject.- Returns:
- a
RESTNamespaceListobject.
-
size
public int size()
size
- Returns:
- a int.
-
isEmpty
public boolean isEmpty()
isEmpty
- Returns:
- a boolean.
-
get
public RESTNamespaceList.RESTShortNamespace get(int index)
get
- Parameters:
index- a int.- Returns:
- a
RESTNamespaceList.RESTShortNamespaceobject.
-
iterator
public java.util.Iterator<RESTNamespaceList.RESTShortNamespace> iterator()
iterator
- Specified by:
iteratorin interfacejava.lang.Iterable<RESTNamespaceList.RESTShortNamespace>- Returns:
- a
Iteratorobject.
-
-