it.geosolutions.geoserver.rest.decoder
Class RESTAbstractList<ELEM extends NameLinkElem>
java.lang.Object
it.geosolutions.geoserver.rest.decoder.RESTAbstractList<ELEM>
- All Implemented Interfaces:
- Iterable<ELEM>
- Direct Known Subclasses:
- RESTCoverageList, RESTCoverageStoreList, RESTDataStoreList, RESTLayerGroupList, RESTLayerList, RESTPublishedList, RESTStyleList
public class RESTAbstractList<ELEM extends NameLinkElem>
- extends Object
- implements Iterable<ELEM>
Parses list of summary data.
This is the XML REST representation:
<ELEMENTs>
<ELEMENT>
<name>elem1</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="url1" type="application/xml"/>
</ELEMENT>
<ELEMENT>
<name>elem2</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="url2" type="application/xml"/>
</ELEMENT>
</ELEMENTs>
- Author:
- ETj (etj at geo-solutions.it)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementList
protected final List<org.jdom.Element> elementList
RESTAbstractList
protected RESTAbstractList(org.jdom.Element list)
size
public int size()
isEmpty
public boolean isEmpty()
get
public ELEM get(int index)
iterator
public Iterator<ELEM> iterator()
- Specified by:
iterator
in interface Iterable<ELEM extends NameLinkElem>
getNames
public List<String> getNames()
createElement
protected ELEM createElement(org.jdom.Element el)
Copyright © 2007-2013 GeoSolutions. All Rights Reserved.