DeclaredNameInfo

data class DeclaredNameInfo(val serialName: String, val annotatedName: QName?, val isDefaultNamespace: Boolean)(source)

Class holding the name information for either an attribute or type

Constructors

Link copied to clipboard
constructor(serialName: String, annotatedName: QName?, isDefaultNamespace: Boolean)

Properties

Link copied to clipboard
val annotatedName: QName?

The name provided through the @XmlSerialName annotation. The default policy always prioritises this over local names.

Link copied to clipboard
val isDefaultNamespace: Boolean

For attribute values, determines whether the attribute would be in the default namespace. This allows for @XmlSerialName annotations that do not explicitly specify the name. It records whether the namespace attribute is the "unset"/default value in the annotation.

Link copied to clipboard
val serialName: String

The serialName as provided by the descriptor (element name for attribute, type name for type)