Learn R Programming

geometa (version 0.9.1)

ISOBrowseGraphic: ISOBrowseGraphic

Description

ISOBrowseGraphic

ISOBrowseGraphic

Arguments

Value

Object of R6Class for modelling an ISO BrowseGraphic

Format

R6Class object.

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOBrowseGraphic

Public fields

fileName

file name

fileDescription

file description

fileType

file type

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOBrowseGraphic$new(
  xml = NULL,
  fileName = NULL,
  fileDescription = NULL,
  fileType = NULL
)

Arguments

xml

object of class XMLInternalNode-class

fileName

file name

fileDescription

file description

fileType

file type


Method setFileName()

Set file name

Usage

ISOBrowseGraphic$setFileName(fileName, locales = NULL)

Arguments

fileName

file name

locales

a list of localized names. Default is NULL


Method setFileDescription()

Set file description

Usage

ISOBrowseGraphic$setFileDescription(fileDescription, locales = NULL)

Arguments

fileDescription

file description

locales

a list of localized descriptions. Default is NULL


Method setFileType()

Set file type

Usage

ISOBrowseGraphic$setFileType(fileType, locales = NULL)

Arguments

fileType

file type

locales

a list of localized types. Default is NULL


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOBrowseGraphic$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

References

- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_BrowseGraphic

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/mcc/1.0/mcc/#element_MD_BrowseGraphic

Examples

Run this code
 md <- ISOBrowseGraphic$new(
  fileName = "http://wwww.somefile.org/png",
  fileDescription = "Map Overview",
  fileType = "image/png"
 )
 xml <- md$encode()

Run the code above in your browser using DataLab