Class RESTStyleList
- java.lang.Object
-
- it.geosolutions.geoserver.rest.decoder.RESTAbstractList<NameLinkElem>
-
- it.geosolutions.geoserver.rest.decoder.RESTStyleList
-
- All Implemented Interfaces:
java.lang.Iterable<NameLinkElem>
public class RESTStyleList extends RESTAbstractList<NameLinkElem>
Parses list of summary data about Styles.This is the XML REST representation:
<styles> <style> <name>pophatch</name> <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/styles/pophatch.xml" type="application/xml"/> </style> <style> <name>point</name> <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/styles/point.xml" type="application/xml"/> </style> <style> <name>population</name> <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/styles/population.xml" type="application/xml"/> </style>- Version:
- $Id: $
- Author:
- ETj (etj at geo-solutions.it)
-
-
Field Summary
-
Fields inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
elementList
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRESTStyleList(org.jdom.Element list)Constructor for RESTStyleList.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RESTStyleListbuild(java.lang.String response)build-
Methods inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
createElement, get, getNames, isEmpty, iterator, size
-
-
-
-
Method Detail
-
build
public static RESTStyleList build(java.lang.String response)
build
- Parameters:
response- aStringobject.- Returns:
- a
RESTStyleListobject.
-
-