ISOOnlineResource

ISOOnlineResource

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Online Resource

References

ISO 19115:2003 - Geographic information – Metadata

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

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

Public fields

linkage

linkage

protocol

protocol

name

name

description

description

function

function

Methods

Inherited 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.

Examples

  md <- ISOOnlineResource$new()
  md$setLinkage("http://somelink")
  md$setName("name")
  md$setDescription("description")
  md$setProtocol("protocol")
  md$setOnLineFunction("download")
  xml <- md$encode()
#> [geometa][INFO] Object 'ISOOnlineResource' is VALID according to ISO 19139 XML schemas!