ISOConformanceResult

ISOConformanceResult

Format

R6Class object.

Value

Object of R6Class for modelling an ISO ConformanceResult

References

ISO 19115:2003 - Geographic information – Metadata

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

specification

specification

explanation

explanation

pass

pass

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOConformanceResult$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setSpecification()

Set specification

Usage

ISOConformanceResult$setSpecification(specification)

Arguments

specification

specification


Method setExplanation()

Set explanation about the conformance result

Usage

ISOConformanceResult$setExplanation(explanation, locales = NULL)

Arguments

explanation

explanation

locales

list of localized explanations. Default is NULL


Method setPass()

Set wether the conformance passed or not

Usage

ISOConformanceResult$setPass(pass)

Arguments

pass

object of class logical


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOConformanceResult$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

 md <- ISOConformanceResult$new()
 spec <- ISOCitation$new()
 spec$setTitle("specification title")
 spec$addAlternateTitle("specification alternate title")
#> [1] TRUE
 d <- ISODate$new()
 d$setDate(ISOdate(2015, 1, 1, 1))
 d$setDateType("publication")
 spec$addDate(d)
 md$setSpecification(spec)
 md$setExplanation("some explanation about the conformance")
 md$setPass(TRUE)
 xml <- md$encode()
#> [geometa][INFO] Object 'ISOConformanceResult' is VALID according to ISO 19139 XML schemas!