Class 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)
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RESTStyleList​(org.jdom.Element list)
      Constructor for RESTStyleList.
    • Constructor Detail

      • RESTStyleList

        protected RESTStyleList​(org.jdom.Element list)

        Constructor for RESTStyleList.

        Parameters:
        list - a Element object.
    • Method Detail

      • build

        public static RESTStyleList build​(java.lang.String response)

        build

        Parameters:
        response - a String object.
        Returns:
        a RESTStyleList object.