Class RESTPublishedList
- java.lang.Object
-
- it.geosolutions.geoserver.rest.decoder.RESTAbstractList<RESTPublished>
-
- it.geosolutions.geoserver.rest.decoder.RESTPublishedList
-
- All Implemented Interfaces:
java.lang.Iterable<RESTPublished>
public class RESTPublishedList extends RESTAbstractList<RESTPublished>
Parse publisheds returned as XML REST objects. This is the XML REST representation:<publishables> <published type="layer"> <name>sfdem</name> <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/layers/sfdem.xml" type="application/xml"/> </published> <published type="layer"> <name>bugsites</name> <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/layers/bugsites.xml" type="application/xml"/> </published> </publishables>- Version:
- $Id: $
- Author:
- Davide Savazzi (geo-solutions.it)
-
-
Field Summary
-
Fields inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
elementList
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRESTPublishedList(org.jdom.Element list)Constructor for RESTPublishedList.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RESTPublishedListbuild(java.lang.String response)buildprotected RESTPublishedcreateElement(org.jdom.Element el)createElement-
Methods inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
get, getNames, isEmpty, iterator, size
-
-
-
-
Method Detail
-
build
public static RESTPublishedList build(java.lang.String response)
build
- Parameters:
response- aStringobject.- Returns:
- a
RESTPublishedListobject.
-
createElement
protected RESTPublished createElement(org.jdom.Element el)
createElement
- Overrides:
createElementin classRESTAbstractList<RESTPublished>- Parameters:
el- aElementobject.- Returns:
- a ELEM object.
-
-