ISOLocale
ISOLocale
ISOLocale class
R6Class
object.
Object of R6Class
for modelling an ISO Locale
loc <- ISOLocale$new() loc$setId("eng") loc$setLanguage("eng") loc$setCountry("UK") loc$setCharacterSet("utf8")
ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_PT_Locale
ISO 19115-3 https://schemas.isotc211.org/19115/-3/lan/1.0/lan/#element_PT_Locale
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOLocale
languageCode
: languageCode [1..1]: ISOLanguage (ISO 19139)
language
: language [1..1]: ISOLanguage (ISO 19115-3)
country
: country [0..1]: ISOCountry
characterEncoding
: characterEncoding [1..1]: ISOCharacterSet
new()
Initializes object
ISOLocale$new(
xml = NULL,
id = NULL,
language = NULL,
country = NULL,
characterEncoding = NULL
)
xml
: object of class XMLInternalNode-class
id
: id
language
: language
country
: country
characterEncoding
: characterEncoding
setId()
Set ID
ISOLocale$setId(id)
id
: id
setLanguage()
Set language
ISOLocale$setLanguage(language)
language
: object of class ISOLanguage or any character among values returned by ISOLanguage$values()
setCountry()
Set country
ISOLocale$setCountry(country)
country
: object of class ISOCountry or any character among values returned by ISOCountry$values()
or any other ISO-2 country code
setCharacterSet()
Set character set
ISOLocale$setCharacterSet(charset)
charset
: object of class ISOCharacterSet or any character among values returned by ISOCharacterSet$values()
clone()
The objects of this class are cloneable with this method.
ISOLocale$clone(deep = FALSE)
deep
: Whether to make a deep clone.