Skip to contents

Geoserver REST API REST Resource interface

Geoserver REST API REST Resource interface

Format

R6Class object.

Value

Object of R6Class for modelling a GeoServer REST resource interface

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

rootName

root name

Methods


Method new()

Initializes an object of class GSRESTResource

Usage

GSRESTResource$new(xml, rootName)

Arguments

xml

object of class xml_node-class

rootName

root name


Method decode()

Decodes from XML. Abstract method to be implemented by sub-classes

Usage

GSRESTResource$decode(xml)

Arguments

xml

object of class xml_node-class


Method encode()

Encodes as XML

Usage

GSRESTResource$encode()

Returns

an object of class xml_node-class


Method print()

Provides a custom print output (as tree) of the current class

Usage

GSRESTResource$print(..., depth = 1)

Arguments

...

args

depth

class nesting depth


Method getClassName()

Get class name

Usage

GSRESTResource$getClassName()

Returns

an object of class character


Method clone()

The objects of this class are cloneable with this method.

Usage

GSRESTResource$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.