it.geosolutions.geoserver.rest.decoder
Class RESTLayer
java.lang.Object
it.geosolutions.geoserver.rest.decoder.RESTLayer
public class RESTLayer
- extends java.lang.Object
Parse Layers returned as XML REST objects.
This is the XML REST representation:
<layer>
<name>tasmania_cities</name>
<path>/</path>
<type>VECTOR</type>
<defaultStyle>
<name>capitals</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/styles/capitals.xml" type="application/xml"/>
</defaultStyle>
<resource class="featureType">
<name>tasmania_cities</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/workspaces/topp/datastores/taz_shapes/featuretypes/tasmania_cities.xml" type="application/xml"/>
</resource>
<enabled>true</enabled>
<attribution>
<logoWidth>0</logoWidth>
<logoHeight>0</logoHeight>
</attribution>
</layer>
- Author:
- etj
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESTLayer
public RESTLayer(Element layerElem)
build
public static RESTLayer build(java.lang.String response)
getName
public java.lang.String getName()
getTypeString
public java.lang.String getTypeString()
getType
public RESTLayer.TYPE getType()
getDefaultStyle
public java.lang.String getDefaultStyle()
getTitle
public java.lang.String getTitle()
getAbstract
public java.lang.String getAbstract()
getNameSpace
public java.lang.String getNameSpace()
getResourceUrl
public java.lang.String getResourceUrl()
- Get the URL to retrieve the featuretype.
<resource class="featureType">
<name>tasmania_cities</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/workspaces/topp/datastores/taz_shapes/featuretypes/tasmania_cities.xml" type="application/xml"/>
</resource>
Copyright © 2007-2012 GeoSolutions. All Rights Reserved.