ISOMimeFileType

ISOMimeFileType

Format

R6Class object.

Value

Object of R6Class for modelling an ISO MimeFileType

References

ISO/TS 19139:2007 Geographic information – XML

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOMimeFileType

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOMimeFileType$new(xml = NULL, type = NULL, name = NULL)

Arguments

xml

object of class XMLInternalNode-class

type

type

name

name


Method setName()

Set name

Usage

ISOMimeFileType$setName(name)

Arguments

name

name


Method setType()

Set type

Usage

ISOMimeFileType$setType(type)

Arguments

type

type


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOMimeFileType$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  md <- ISOMimeFileType$new(type = "somemimetype", name = "Mime type name")
  xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmx}MimeFileType': No matching global declaration available for the validation root at line 1. 
#> [geometa][WARN] Object 'ISOMimeFileType' is INVALID according to ISO 19139 XML schemas!