it.geosolutions.geoserver.rest.decoder
Class RESTPublishedList

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

Author:
Davide Savazzi (geo-solutions.it)

Field Summary
 
Fields inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
elementList
 
Constructor Summary
protected RESTPublishedList(org.jdom.Element list)
           
 
Method Summary
static RESTPublishedList build(String response)
           
protected  RESTPublished createElement(org.jdom.Element el)
           
 
Methods inherited from class it.geosolutions.geoserver.rest.decoder.RESTAbstractList
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

RESTPublishedList

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

build

public static RESTPublishedList build(String response)

createElement

protected RESTPublished createElement(org.jdom.Element el)
Overrides:
createElement in class RESTAbstractList<RESTPublished>


Copyright © 2007-2013 GeoSolutions. All Rights Reserved.