This class models a GeoServer OWS service settings.
Object of R6Class for modelling a GeoServer OWS service setting
R6Class object.
enabledis service enabled or not?
citeCompliantis service cite compliant?
nameservice name
titleservice title
maintainerservice maintainer
abstractservice abastract
accessConstraintsservice access constraints
feesservice fees
keywordsservices keywords
onlineResourceservice online resource
schemaBaseURLservice schema base URL
verboseservice verbose or not?
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
Geoserver REST API Service Setting
# NOT RUN {
settings <- GSServiceSettings$new(service = "WMS")
settings$setEnabled(TRUE)
# }
Run the code above in your browser using DataLab