ISOOnlineResource function

ISOOnlineResource

ISOOnlineResource

ISOOnlineResource

ISOOnlineResource class

Format

R6Class object.

Returns

Object of R6Class for modelling an ISO Online Resource

Examples

md <- ISOOnlineResource$new() md$setLinkage("http://somelink") md$setName("name") md$setDescription("description") md$setProtocol("protocol") md$setOnLineFunction("download") xml <- md$encode()

References

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOAbstractOnlineResource -> ISOOnlineResource

Public fields

  • linkage: linkage

  • protocol: protocol

  • applicationProfile: application profile

  • name: name

  • description: description

  • function: function

  • protocolRequest: protocol request in (ISO 19115-3)

Methods

Public methods

Method new()

Initializes object

Usage

ISOOnlineResource$new(xml = NULL)

Arguments

  • xml: object of class XMLInternalNode-class

Method setLinkage()

Set linkage

Usage

ISOOnlineResource$setLinkage(linkage)

Arguments

  • linkage: linkage object of class ISOURL or character

Method setName()

Set name

Usage

ISOOnlineResource$setName(name, locales = NULL)

Arguments

  • name: name

  • locales: list of localized texts. Default is NULL

Method setProtocol()

Set protocol

Usage

ISOOnlineResource$setProtocol(protocol, locales = NULL)

Arguments

  • protocol: protocol

  • locales: list of localized texts. Default is NULL

Method setDescription()

Set description

Usage

ISOOnlineResource$setDescription(description, locales = NULL)

Arguments

  • description: description

  • locales: list of localized texts. Default is NULL

Method setOnLineFunction()

Set online function

Usage

ISOOnlineResource$setOnLineFunction(onLineFunction)

Arguments

  • onLineFunction: object of class ISOOnLineFunction or any character

     among values returned by `ISOOnLineFunction$values()`
    

Method clone()

The objects of this class are cloneable with this method.

Usage

ISOOnlineResource$clone(deep = FALSE)

Arguments

  • deep: Whether to make a deep clone.

  • Maintainer: Emmanuel Blondel
  • License: MIT + file LICENSE
  • Last published: 2025-01-29