| GSWorkspaceSettings {geosapi} | R Documentation |
Geoserver REST API Workspace Setting
Description
Geoserver REST API Workspace Setting
Geoserver REST API Workspace Setting
Format
R6Class object.
Value
Object of R6Class for modelling a GeoServer workspace settings
Super class
geosapi::GSRESTResource -> GSWorkspaceSettings
Public fields
contactcontact
charsetcharset
numDecimalsnumber of decimal
onlineResourceonline resource
verboseverbose
verboseExceptionsverbose exceptions
localWorkspaceIncludesPrefixlocal workspace includes prefix
Methods
Public methods
Inherited methods
Method new()
This method is used to instantiate a GSWorkspaceSettings. This settings
object is required to activate a workspace configuration, using the method
GSManager$createWorkspaceSettings. Supported from GeoServer 2.12
Usage
GSWorkspaceSettings$new(xml = NULL)
Arguments
xmlobject of class xml_node-class
Method decode()
Decodes from XML
Usage
GSWorkspaceSettings$decode(xml)
Arguments
xmlobject of class xml_node-class
Method setCharset()
Set charset
Usage
GSWorkspaceSettings$setCharset(charset)
Arguments
charsetcharset
Method setNumDecimals()
Set number of decimals
Usage
GSWorkspaceSettings$setNumDecimals(numDecimals)
Arguments
numDecimalsnumber of decimals
Method setOnlineResource()
Set online resource
Usage
GSWorkspaceSettings$setOnlineResource(onlineResource)
Arguments
onlineResourceonline resource
Method setVerbose()
Set verbose
Usage
GSWorkspaceSettings$setVerbose(verbose)
Arguments
verboseverbose
Method setVerboseExceptions()
Set verbose exceptions
Usage
GSWorkspaceSettings$setVerboseExceptions(verboseExceptions)
Arguments
verboseExceptionsverbose exceptions
Method setLocalWorkspaceIncludesPrefix()
Set local workspace includes prefix
Usage
GSWorkspaceSettings$setLocalWorkspaceIncludesPrefix(includesPrefix)
Arguments
includesPrefixincludes prefix
Method clone()
The objects of this class are cloneable with this method.
Usage
GSWorkspaceSettings$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
settings <- GSWorkspaceSettings$new()
settings$setCharset("UTF-8")
settings$setNumDecimals(5)