ISOCodeListValue
ISOCodeListValue
Object of R6Class
for modelling an ISO Metadata codelist element
R6Class
object.
codelistId
[character
] codelist identifier
attrs
[list
] list of codelist attributes
value
[character
] codelist value
valueDescription
[character
] codelist value description
new(xml, id, value, description, addCodeListAttrs, addCodeSpaceAttr, setValue)
This method is used to instantiate an ISOCodeListValue. By default,
addCodeListAttrs = TRUE
, to add codelist atributes to root XML. The
parameter addCodeSpaceAttr = TRUE
by default, and ignored if the valueof
addCodeLisAttrs
is set to FALSE
. The argument setValue
sets the value as node text (defaut is TRUE
). The argument setValueDescription
allows to force having description set as value, default is FALSE
in which case
the name will be preferred, and in case no name is provided, code value will be used.
getAcceptedValues()
This method allows to get the codelist accepted values
ISO 19115:2003 - Geographic information -- Metadata