Learn R Programming

geometa (version 0.7)

ISODigitalTransferOptions: ISODigitalTransferOptions

Description

ISODigitalTransferOptions

Arguments

Value

Object of R6Class for modelling an ISO DigitalTransferOptions

Format

R6Class object.

Fields

unitsOfDistribution

[character] units of distribution

transferSize

[character] transfer size

onLine

[ISOOnlineResource] online resource(s)

Methods

new(xml,value)

This method is used to instantiate an ISODigitalTransferOptions

setUnitsOfDistribution(unit)

Sets the units of distribution

setTransferSize(transferSize)

Sets the transfer Size

addOnlineResource(onlineResource)

Adds an object of class ISOOnlineResource

setOnlineResource(onlineResource)

Sets an object of class ISOOnlineResource

delOnlineResource(onlineResource)

Deletes an object of class ISOOnlineResource

addOfflineResource(offlineResource)

Adds an object of class ISOMedium

setOfflineResource(offlineResource)

Sets an object of class ISOMedium

delOfflineResource(offlineResource)

Deletes an object of class ISOMedium

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
  md <- ISODigitalTransferOptions$new()  
  
  or <- ISOOnlineResource$new()
  or$setLinkage("http://somelink")
  or$setName("name")
  or$setDescription("description")
  or$setProtocol("WWW:LINK-1.0-http--link")
  md$addOnlineResource(or)
  
  xml <- md$encode()
  

Run the code above in your browser using DataLab