ISOOnlineResource
ISOOnlineResource
ISOOnlineResource class
R6Class
object.
Object of R6Class
for modelling an ISO Online Resource
md <- ISOOnlineResource$new() md$setLinkage("http://somelink") md$setName("name") md$setDescription("description") md$setProtocol("protocol") md$setOnLineFunction("download") xml <- md$encode()
ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_CI_OnlineResource
ISO 19115-3 https://schemas.isotc211.org/19115/-3/cit/2.0/cit/#element_CI_OnlineResource
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOAbstractOnlineResource
-> ISOOnlineResource
linkage
: linkage
protocol
: protocol
applicationProfile
: application profile
name
: name
description
: description
function
: function
protocolRequest
: protocol request in (ISO 19115-3)
new()
Initializes object
ISOOnlineResource$new(xml = NULL)
xml
: object of class XMLInternalNode-class
setLinkage()
Set linkage
ISOOnlineResource$setLinkage(linkage)
linkage
: linkage object of class ISOURL or character
setName()
Set name
ISOOnlineResource$setName(name, locales = NULL)
name
: name
locales
: list of localized texts. Default is NULL
setProtocol()
Set protocol
ISOOnlineResource$setProtocol(protocol, locales = NULL)
protocol
: protocol
locales
: list of localized texts. Default is NULL
setDescription()
Set description
ISOOnlineResource$setDescription(description, locales = NULL)
description
: description
locales
: list of localized texts. Default is NULL
setOnLineFunction()
Set online function
ISOOnlineResource$setOnLineFunction(onLineFunction)
onLineFunction
: object of class ISOOnLineFunction or any character
among values returned by `ISOOnLineFunction$values()`
clone()
The objects of this class are cloneable with this method.
ISOOnlineResource$clone(deep = FALSE)
deep
: Whether to make a deep clone.