ParentInfo

class ParentInfo(config: XmlConfig, val descriptor: XmlDescriptor, val index: Int, useNameInfo: XmlSerializationPolicy.DeclaredNameInfo? = null, useOutputKind: OutputKind? = null, val overriddenSerializer: KSerializer<*>? = null) : SafeParentInfo(source)

Constructors

Link copied to clipboard
constructor(config: XmlConfig, descriptor: XmlDescriptor, index: Int, useNameInfo: XmlSerializationPolicy.DeclaredNameInfo? = null, useOutputKind: OutputKind? = null, overriddenSerializer: KSerializer<*>? = null)

Properties

Link copied to clipboard
open override val descriptor: XmlDescriptor

The descriptor of the parent (if available - not for the root).

Link copied to clipboard

The raw serial descriptor of the element

Link copied to clipboard

The descriptor of the type of this element (independent of use).

Link copied to clipboard

Annotations on the property, not type

Link copied to clipboard

The information on use site requirements

Link copied to clipboard
open override val elementUseOutputKind: OutputKind?

Type requirements derived from the use site

Link copied to clipboard
open override val index: Int

The index of this element in the parent.

Link copied to clipboard
open override val namespace: Namespace

The namespace this element has

Link copied to clipboard
open override val overriddenSerializer: KSerializer<*>? = null

Overidden serializer of the element

Link copied to clipboard
open override val parentIsInline: Boolean

Is the parent type an inline class.

Link copied to clipboard
open override var useAnnAfter: Array<out String>?

Value of the XmlAfter annotation

Link copied to clipboard
open override var useAnnBefore: Array<out String>?

Value of the XmlBefore annotation

Link copied to clipboard
open override var useAnnCData: Boolean?

Value of the XmlCData annotation

Link copied to clipboard

Value of the XmlChildrenName annotation

Link copied to clipboard
open override var useAnnDefault: String?

Value of the XmlDefault annotation

Link copied to clipboard
open override var useAnnIgnoreWhitespace: Boolean?

Value of the XmlIgnoreWhitespace annotation

Link copied to clipboard
open override var useAnnIsElement: Boolean?

Value of the XmlElement annotation

Link copied to clipboard
open override var useAnnIsId: Boolean

Value of the XmlId annotation

Link copied to clipboard
open override var useAnnIsOtherAttributes: Boolean

Value of the XmlOtherAttributes annotation

Link copied to clipboard
open override var useAnnIsValue: Boolean?

Value of the XmlValue annotation

Link copied to clipboard
open override var useAnnNsDecls: List<Namespace>?

Value of the XmlNamespaceDeclSpec annotation

Link copied to clipboard

Value of the XmlPolyChildren annotation

Link copied to clipboard

Value of the XmlSerialName annotation

Functions

Link copied to clipboard
open override fun copy(config: XmlConfig, overriddenSerializer: KSerializer<*>?): ParentInfo
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open fun maybeOverrideSerializer(config: XmlConfig, overriddenSerializer: KSerializer<*>?): SafeParentInfo