public class RESTLayer extends Object
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>
<styles class="linked-hash-set">
<style>
<name>green</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/styles/green.xml" type="application/xml"/>
</style>
</styles>
<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>
<queryable>true</queryable>
<advertised>true</advertised>
<attribution>
<logoWidth>0</logoWidth>
<logoHeight>0</logoHeight>
</attribution>
<authorityURLs>
<AuthorityURL>
<name>authority1</name>
<href>http://www.authority1.org</href>
</AuthorityURL>
</authorityURLs>
<identifiers>
<Identifier>
<authority>authority1</authority>
<identifier>identifier1</identifier>
</Identifier>
</identifiers>
</layer>
| Modifier and Type | Class and Description |
|---|---|
static class |
RESTLayer.Type |
| Modifier and Type | Field and Description |
|---|---|
protected org.jdom.Element |
layerElem |
| Constructor and Description |
|---|
RESTLayer(org.jdom.Element layerElem) |
| Modifier and Type | Method and Description |
|---|---|
static RESTLayer |
build(String response) |
String |
getAbstract() |
boolean |
getAdvertised() |
String |
getDefaultStyle() |
String |
getDefaultStyleWorkspace() |
boolean |
getEnabled() |
List<GSAuthorityURLInfoEncoder> |
getEncodedAuthorityURLInfoList()
Decodes the list of AuthorityURLInfo from the GeoServer Layer
|
List<GSIdentifierInfoEncoder> |
getEncodedIdentifierInfoList()
Decodes the list of IdentifierInfo from the GeoServer Layer
|
String |
getName() |
String |
getNameSpace() |
boolean |
getQueryable() |
String |
getResourceUrl()
Get the URL to retrieve the featuretype.
|
RESTStyleList |
getStyles() |
String |
getTitle() |
RESTLayer.Type |
getType() |
String |
getTypeString() |
public boolean getEnabled()
public boolean getQueryable()
public boolean getAdvertised()
public String getName()
public String getTypeString()
public RESTLayer.Type getType()
public String getDefaultStyle()
public RESTStyleList getStyles()
public String getDefaultStyleWorkspace()
public String getTitle()
public String getAbstract()
public String getNameSpace()
public String getResourceUrl()
<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>
public List<GSAuthorityURLInfoEncoder> getEncodedAuthorityURLInfoList()
public List<GSIdentifierInfoEncoder> getEncodedIdentifierInfoList()
Copyright © 2007–2016 PDOK. All rights reserved.