MdocDataElement

data class MdocDataElement(val attribute: DocumentAttribute, val mandatory: Boolean)

Class containing the metadata of a data element in a ISO mdoc.

Parameters

attribute

the generic metadata.

mandatory

a ISO mdoc specific indication whether the data element is mandatory

Constructors

Link copied to clipboard
constructor(attribute: DocumentAttribute, mandatory: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun renderValue(value: DataItem, timeZone: TimeZone = TimeZone.currentSystemDefault(), trueFalseStrings: Pair<String, String> = Pair("false", "true")): String

Renders the value of this data element as a string.