GSServiceSettings | R Documentation |
This class models a GeoServer OWS service settings.
R6Class
object.
Geoserver REST API Service Setting
Object of R6Class
for modelling a GeoServer OWS service setting
new(rootName, xml)
This method is used to instantiate a GSServiceSettings
. This settings
object is required to model/manipulate an OGC service configuration, using the method
GSManager$updateServiceSettings
or derivates.
decode(xml)
This method is used to decode a GSServiceSettings
from XML
encode()
This method is used to encode a GSServiceSettings
to XML. Inherited from the
generic GSRESTResource
encoder
setEnabled(enabled)
Sets if the service is enabled (TRUE) or not (FALSE)
setCiteCompliant(citeCompliant)
Sets if the service is compliant with CITE (TRUE) or not (FALSE)
setName(name)
Sets the service name
setTitle(title)
Sets the service title
setAbstract(abstract)
Sets the service abstract
setMaintainer(maintainer)
Sets the service maintainer
setKeywords(keywords)
Sets a list of keywords
addKeyword(keyword)
Sets a keyword. Returns TRUE if set, FALSE otherwise
delKeyword(keyword)
Deletes a keyword. Returns TRUE if deleted, FALSE otherwise
setOnlineResource(onlineResource)
Sets the online resource
setSchemaBaseURL(schemaBaseURL)
Sets the schema base URL. Default is http://schemas.opengis.net
setVerbose(verbose)
Sets verbose
geosapi::GSRESTResource
-> GSServiceSettings
enabled
is service enabled or not?
citeCompliant
is service cite compliant?
name
service name
title
service title
maintainer
service maintainer
abstrct
service abastract
accessConstraints
service access constraints
fees
service fees
keywords
services keywords
onlineResource
service online resource
schemaBaseURL
service schema base URL
verbose
service verbose or not?
new()
Initializes an object of class GSServiceSettings
GSServiceSettings$new(xml = NULL, service)
xml
object of class XMLInternalNode-class
service
service service acronym
decode()
Decodes from XML
GSServiceSettings$decode(xml)
xml
object of class XMLInternalNode-class
setEnabled()
Set enabled
GSServiceSettings$setEnabled(enabled)
enabled
enabled
setCiteCompliant()
Set cite compliant
GSServiceSettings$setCiteCompliant(citeCompliant)
citeCompliant
cite compliant
setName()
Set name
GSServiceSettings$setName(name)
name
name
setTitle()
Set title
GSServiceSettings$setTitle(title)
title
title
setMaintainer()
Set maintainer
GSServiceSettings$setMaintainer(maintainer)
maintainer
maintainer
setAbstract()
Set abstract
GSServiceSettings$setAbstract(abstract)
abstract
abstract
setAccessConstraints()
Set access constraints
GSServiceSettings$setAccessConstraints(accessConstraints)
accessConstraints
access constraints
setFees()
Set fees
GSServiceSettings$setFees(fees)
fees
fees
setKeywords()
Set keywords
GSServiceSettings$setKeywords(keywords)
keywords
keywords
addKeyword()
Adds a keyword
GSServiceSettings$addKeyword(keyword)
keyword
keyword
TRUE
if added, FALSE
otherwise
delKeyword()
Deletes a keyword
GSServiceSettings$delKeyword(keyword)
keyword
keyword
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
GSServiceSettings$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
settings <- GSServiceSettings$new(service = "WMS")
settings$setEnabled(TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.