ISOOnlineResource: ISOOnlineResource

ISOOnlineResourceR Documentation

ISOOnlineResource

Description

ISOOnlineResource

ISOOnlineResource

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Online Resource

Super classes

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

Public fields

linkage

linkage

protocol

protocol

name

name

description

description

function

function

Methods

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

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19115:2003 - Geographic information – Metadata

Examples

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

geometa documentation built on May 29, 2024, 10:31 a.m.