it.geosolutions.geoserver.rest.encoder
Class GSLayerEncoder21
java.lang.Object
it.geosolutions.geoserver.rest.encoder.utils.XmlElement
it.geosolutions.geoserver.rest.encoder.utils.PropertyXMLEncoder
it.geosolutions.geoserver.rest.encoder.GSLayerEncoder
it.geosolutions.geoserver.rest.encoder.GSLayerEncoder21
public class GSLayerEncoder21
- extends GSLayerEncoder
Layer encoder for Geoserver = 2.1
- Since:
- gs-2.1.x
- Author:
- Emmanuel Blondel - emmanuel.blondel1@gmail.com
The layer encoder is enabled by default
METADATA
public static final String METADATA
- See Also:
- Constant Field Values
authorityURLList
public Map<String,String> authorityURLList
identifierList
public Map<String,List<String>> identifierList
GSLayerEncoder21
public GSLayerEncoder21()
addMetadata
protected void addMetadata(String key,
XmlElement dimensionInfo)
- Parameters:
key - dimensionInfo -
addAdvertised
protected void addAdvertised()
- advertise the layer
setAdvertised
public void setAdvertised(boolean advertised)
- Overrides:
setAdvertised in class GSLayerEncoder
- Parameters:
advertised - true if the layer should be advertised
addAuthorityURL
public void addAuthorityURL(GSAuthorityURLInfoEncoder authorityURLInfo)
- Add an authorityURLInfo to the GeoServer layer
- Overrides:
addAuthorityURL in class GSLayerEncoder
- Parameters:
authorityURLInfo -
delAuthorityURL
public boolean delAuthorityURL(String authorityURL)
- Deletes a AuthorityURLInfo from the list using the authorityURL
(AuthorityURLInfo href)
- Overrides:
delAuthorityURL in class GSLayerEncoder
- Parameters:
authorityURL -
- Returns:
- true if something is removed, false otherwise
addIdentifier
public void addIdentifier(GSIdentifierInfoEncoder identifierInfo)
- Add an identifierInfo to the GeoServer layer
- Overrides:
addIdentifier in class GSLayerEncoder
- Parameters:
identifierInfo -
delIdentifier
public boolean delIdentifier(String authority)
- Deletes a IdentifierInfo from the list using the authority
name (IdentifierInfo authority)
- Overrides:
delIdentifier in class GSLayerEncoder
- Parameters:
authority -
- Returns:
- true if something is removed, false otherwise
Copyright © 2007-2014 GeoSolutions. All Rights Reserved.