Skip to contents

This class models a GeoServer resource metadataLink made of a type (free text e.g. text/xml, text/html), a metadataType (Possible values are ISO19115:2003, FGDC, TC211, 19139, other), and a content: an URL that gives the metadataLink

Format

R6Class object.

Value

Object of R6Class for modelling a GeoServer resource metadataLink

Details

Geoserver REST API Metadatalink

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super class

geosapi::GSRESTResource -> GSMetadataLink

Public fields

type

type

metadataType

metadata type

content

content

Methods

Inherited methods


Method new()

Initializes an object of class GSMetadataLink

Usage

GSMetadataLink$new(xml = NULL, type, metadataType, content)

Arguments

xml

object of class xml_node-class

type

type

metadataType

metadata type

content

content


Method decode()

Decodes from XML

Usage

GSMetadataLink$decode(xml)

Arguments

xml

object of class xml_node-class


Method setType()

Set type type

Usage

GSMetadataLink$setType(type)

Arguments

type

type


Method setMetadataType()

Set metadata type

Usage

GSMetadataLink$setMetadataType(metadataType)

Arguments

metadataType

metadata type. Supported values: "ISO19115:2003", "FGDC", "TC211", "19139", "other"


Method setContent()

Set content

Usage

GSMetadataLink$setContent(content)

Arguments

content

content


Method clone()

The objects of this class are cloneable with this method.

Usage

GSMetadataLink$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.