it.geosolutions.geoserver.rest.decoder
Class RESTStyleList

java.lang.Object
  extended by it.geosolutions.geoserver.rest.decoder.RESTAbstractList<NameLinkElem>
      extended by it.geosolutions.geoserver.rest.decoder.RESTStyleList
All Implemented Interfaces:
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>

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

Field Summary
 
Fields inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
elementList
 
Constructor Summary
protected RESTStyleList(org.jdom.Element list)
           
 
Method Summary
static RESTStyleList build(String response)
           
 
Methods inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
createElement, get, getNames, isEmpty, iterator, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RESTStyleList

protected RESTStyleList(org.jdom.Element list)
Method Detail

build

public static RESTStyleList build(String response)


Copyright © 2007-2013 GeoSolutions. All Rights Reserved.