Nothing
#' Geoserver REST API Workspace
#'
#' @docType class
#' @importFrom R6 R6Class
#' @export
#' @keywords geoserver rest api workspace
#' @return Object of \code{\link{R6Class}} for modelling a GeoServer workspace
#' @format \code{\link{R6Class}} object.
#'
#' @examples
#' GSWorkspace$new(name = "work")
#'
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com>
#'
GSWorkspace <- R6Class("GSWorkspace",
inherit = GSRESTResource,
public = list(
#'@field name name
name = NA,
#'@description initializes a \link{GSWorkspace}
#'@param xml an object of class \link{XMLInternalNode-class}
#'@param name name
initialize = function(xml = NULL, name){
super$initialize(rootName = "workspace")
if(!missing(xml) & !is.null(xml)){
self$decode(xml)
}else{
self$name = name
}
},
#'@description Decodes from XML
#'@param xml an object of class \link{XMLInternalNode-class}
decode = function(xml){
names <- getNodeSet(xml, "//name")
self$name <- xmlValue(names[[1]])
}
)
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.