Skip to contents

GeoNetwork REST API REST Request

GeoNetwork REST API REST Request

Format

R6Class object.

Value

Object of R6Class for modelling a GeoNetwork REST request

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

rootName

root name

children

children

Methods


Method new()

Initializes a GNRESTRequest

Usage

GNRESTRequest$new(...)

Arguments

...

any parameter to pass to the request


Method setChild()

Set child

Usage

GNRESTRequest$setChild(key, value)

Arguments

key

key

value

value


Method encode()

Encodes request as XML

Usage

GNRESTRequest$encode()

Returns

an object of class character representing the XML


Method clone()

The objects of this class are cloneable with this method.

Usage

GNRESTRequest$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.