SafeParentInfo

Interface that provides parent info that does provide actual access to the child. As such it is safe to be used to determine properties of the child.

Inheritors

Properties

Link copied to clipboard

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

Link copied to clipboard
open val elementSerialDescriptor: SerialDescriptor

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
abstract val elementUseAnnotations: Collection<Annotation>

Annotations on the property, not type

Link copied to clipboard

The information on use site requirements

Link copied to clipboard

Type requirements derived from the use site

Link copied to clipboard
abstract val index: Int

The index of this element in the parent.

Link copied to clipboard
abstract val namespace: Namespace

The namespace this element has

Link copied to clipboard
abstract val overriddenSerializer: KSerializer<*>?

Overidden serializer of the element

Link copied to clipboard
abstract val parentIsInline: Boolean

Is the parent type an inline class.

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

Value of the XmlAfter annotation

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

Value of the XmlBefore annotation

Link copied to clipboard
open val useAnnCData: Boolean?

Value of the XmlCData annotation

Link copied to clipboard

Value of the XmlChildrenName annotation

Link copied to clipboard
open val useAnnDefault: String?

Value of the XmlDefault annotation

Link copied to clipboard
open val useAnnIgnoreWhitespace: Boolean?

Value of the XmlIgnoreWhitespace annotation

Link copied to clipboard
open val useAnnIsElement: Boolean?

Value of the XmlElement annotation

Link copied to clipboard
open val useAnnIsId: Boolean

Value of the XmlId annotation

Link copied to clipboard
open val useAnnIsOtherAttributes: Boolean

Value of the XmlOtherAttributes annotation

Link copied to clipboard
open val useAnnIsValue: Boolean?

Value of the XmlValue annotation

Link copied to clipboard

Value of the XmlKeyName annotation

Link copied to clipboard

Value of the XmlKeyName annotation

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

Value of the XmlNamespaceDeclSpecs annotation

Link copied to clipboard

Value of the XmlPolyChildren annotation

Link copied to clipboard

Value of the XmlSerialName annotation

Functions

Link copied to clipboard
abstract fun copy(config: XmlConfig, overriddenSerializer: KSerializer<*>? = this.overriddenSerializer): SafeParentInfo
Link copied to clipboard
open fun maybeOverrideSerializer(config: XmlConfig, overriddenSerializer: KSerializer<*>?): SafeParentInfo