public class RESTLayer21 extends RESTLayer
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>
<queryable>true</queryable>
<advertised>true</advertised>
<attribution>
<logoWidth>0</logoWidth>
<logoHeight>0</logoHeight>
</attribution>
<metadata>
<entry key="identifiers">
[{"authority":"authority1","identifier":"identifier1"},]
</entry>
<entry key="authorityURLs">
[{"name":"authority1","href":"http://www.authority1.org"},]
</entry>
<entry key="advertised">true</entry>
</metadata>
</layer>
RESTLayer.Type| Constructor and Description |
|---|
RESTLayer21(org.jdom.Element layerElem) |
| Modifier and Type | Method and Description |
|---|---|
static RESTLayer21 |
build(String response) |
boolean |
getAdvertised()
Decodes the advertised property from the Geoserver Layer
|
List<GSAuthorityURLInfoEncoder> |
getEncodedAuthorityURLInfoList()
Decodes the list of AuthorityURLInfo from the GeoServer Layer
|
List<GSIdentifierInfoEncoder> |
getEncodedIdentifierInfoList()
Decodes the list of IdentifierInfo from the GeoServer Layer
|
getAbstract, getDefaultStyle, getDefaultStyleWorkspace, getEnabled, getName, getNameSpace, getQueryable, getResourceUrl, getStyles, getTitle, getType, getTypeStringpublic static RESTLayer21 build(String response)
public boolean getAdvertised()
getAdvertised in class RESTLayerpublic List<GSAuthorityURLInfoEncoder> getEncodedAuthorityURLInfoList()
getEncodedAuthorityURLInfoList in class RESTLayerpublic List<GSIdentifierInfoEncoder> getEncodedIdentifierInfoList()
getEncodedIdentifierInfoList in class RESTLayerCopyright © 2007–2016 PDOK. All rights reserved.