ISOMetadataScope

ISOMetadataScope

Format

R6Class object.

Value

Object of R6Class for modelling an ISO MetadataScope

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOMetadataScope

Public fields

resourceScope

resource scope

name

name

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOMetadataScope$new(xml = NULL, resourceScope = NULL, name = NULL)

Arguments

xml

object of class XMLInternalNode-class

resourceScope

resource scope

name

name


Method setResourceScope()

Set resource scope

Usage

ISOMetadataScope$setResourceScope(resourceScope)

Arguments

resourceScope

resource scope


Method setName()

Set name

Usage

ISOMetadataScope$setName(name, locales = NULL)

Arguments

name

name

locales

a list of localized names. Default is NULL


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOMetadataScope$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

# \dontrun{
 setMetadataStandard("19115-3")
 md <- ISOMetadataScope$new(
  resourceScope = "service",
  name = "Internal service"
 )
 xml <- md$encode()
#> [geometa][INFO] Object 'ISOMetadataScope' is VALID according to ISO 19115-3 XML schemas! 
 setMetadataStandard("19139")
# }