ISOLocale
ISOLocale
R6Class
object.
Object of R6Class
for modelling an ISO Locale
ISO 19115:2003 - Geographic information – Metadata
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOLocale
languageCode
languageCode [1..1]: ISOLanguage
country
country [0..1]: ISOCountry
characterEncoding
characterEncoding [1..1]: ISOCharacterSet
Inherited methods
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
geometa::ISOAbstractObject$checkMetadataStandardCompliance()
geometa::ISOAbstractObject$contains()
geometa::ISOAbstractObject$createLocalisedProperty()
geometa::ISOAbstractObject$decode()
geometa::ISOAbstractObject$delListElement()
geometa::ISOAbstractObject$encode()
geometa::ISOAbstractObject$getClass()
geometa::ISOAbstractObject$getClassName()
geometa::ISOAbstractObject$getNamespaceDefinition()
geometa::ISOAbstractObject$isDocument()
geometa::ISOAbstractObject$isFieldInheritedFrom()
geometa::ISOAbstractObject$print()
geometa::ISOAbstractObject$save()
geometa::ISOAbstractObject$setAttr()
geometa::ISOAbstractObject$setCodeList()
geometa::ISOAbstractObject$setCodeListValue()
geometa::ISOAbstractObject$setCodeSpace()
geometa::ISOAbstractObject$setHref()
geometa::ISOAbstractObject$setIsNull()
geometa::ISOAbstractObject$setValue()
geometa::ISOAbstractObject$stopIfMetadataStandardIsNot()
geometa::ISOAbstractObject$validate()
geometa::ISOAbstractObject$wrapBaseElement()
new()
Initializes object
ISOLocale$new(
xml = NULL,
id = NULL,
language = NULL,
country = NULL,
encoding = NULL
)
xml
object of class XMLInternalNode-class
id
id
language
language
country
country
encoding
encoding
setLanguage()
Set language
language
object of class ISOLanguage or any character among
values returned by ISOLanguage$values()
setCountry()
Set 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
charset
object of class ISOCharacterSet or any character among
values returned by ISOCharacterSet$values()
loc <- ISOLocale$new()
loc$setId("eng")
loc$setLanguage("eng")
loc$setCountry("UK")
loc$setCharacterSet("utf8")