ISODistribution | R Documentation |
ISODistribution
ISODistribution
R6Class
object.
Object of R6Class
for modelling an ISO Distribution
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISODistribution
distributionFormat
distributionFormat [0..*]: ISOFormat
distributor
distributor [0..*]: ISODistributor
transferOptions
transferOptions [0..*]: ISODigitalTransferOptions
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
geometa::ISOAbstractObject$contains()
geometa::ISOAbstractObject$createLocalisedProperty()
geometa::ISOAbstractObject$decode()
geometa::ISOAbstractObject$delListElement()
geometa::ISOAbstractObject$encode()
geometa::ISOAbstractObject$getClass()
geometa::ISOAbstractObject$getClassName()
geometa::ISOAbstractObject$getNamespaceDefinition()
geometa::ISOAbstractObject$isDocument()
geometa::ISOAbstractObject$isFieldInheritedFrom()
geometa::ISOAbstractObject$print()
geometa::ISOAbstractObject$save()
geometa::ISOAbstractObject$setAttr()
geometa::ISOAbstractObject$setCodeList()
geometa::ISOAbstractObject$setCodeListValue()
geometa::ISOAbstractObject$setCodeSpace()
geometa::ISOAbstractObject$setHref()
geometa::ISOAbstractObject$setId()
geometa::ISOAbstractObject$setIsNull()
geometa::ISOAbstractObject$setValue()
geometa::ISOAbstractObject$validate()
geometa::ISOAbstractObject$wrapBaseElement()
new()
Initializes object
ISODistribution$new(xml = NULL)
xml
object of class XMLInternalNode-class
addFormat()
Adds format
ISODistribution$addFormat(format)
format
format object of class ISOFormat
TRUE
if added, FALSE
otherwise
delFormat()
Deletes format
ISODistribution$delFormat(format)
format
format object of class ISOFormat
TRUE
if deleted, FALSE
otherwise
addDistributor()
Adds distributor
ISODistribution$addDistributor(distributor)
distributor
distributor object of class ISODistributor
TRUE
if added, FALSE
otherwise
delDistributor()
Deletes distributor
ISODistribution$delDistributor(distributor)
distributor
distributor object of class ISODistributor
TRUE
if deleted, FALSE
otherwise
addDigitalTransferOptions()
Adds digital transfer options
ISODistribution$addDigitalTransferOptions(options)
options
options object of class ISODigitalTransferOptions
TRUE
if added, FALSE
otherwise
setDigitalTransferOptions()
Sets digital transfer options
ISODistribution$setDigitalTransferOptions(options)
options
options object of class ISODigitalTransferOptions
TRUE
if added, FALSE
otherwise
delDigitalTransferOptions()
Deletes digital transfer options
ISODistribution$delDigitalTransferOptions(options)
options
options object of class ISODigitalTransferOptions
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISODistribution$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19115:2003 - Geographic information – Metadata
md <- ISODistribution$new() dto <- ISODigitalTransferOptions$new() for(i in 1:3){ or <- ISOOnlineResource$new() or$setLinkage(paste0("http://somelink",i)) or$setName(paste0("name",i)) or$setDescription(paste0("description",i)) or$setProtocol("WWW:LINK-1.0-http--link") dto$addOnlineResource(or) } md$setDigitalTransferOptions(dto) xml <- md$encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.