XmlSerializationPolicy
Types
Link copied to clipboard
Link copied to clipboard
data class DeclaredNameInfo(val serialName: String, val annotatedName: QName?, val isDefaultNamespace: Boolean)
Link copied to clipboard
Properties
Functions
Link copied to clipboard
open fun attributeListDelimiters(serializerParent: SafeParentInfo, tagParent: SafeParentInfo): Array<String>
Determine the delimiters to use to separate attributes. When writing will always write the first element.
Link copied to clipboard
Link copied to clipboard
abstract fun effectiveName(serializerParent: SafeParentInfo, tagParent: SafeParentInfo, outputKind: OutputKind, useName: XmlSerializationPolicy.DeclaredNameInfo = tagParent.elementUseNameInfo): QName
Link copied to clipboard
open fun effectiveOutputKind(serializerParent: SafeParentInfo, tagParent: SafeParentInfo, canBeAttribute: Boolean): OutputKind
Link copied to clipboard
Determine namespace prefixes to make sure are set upon the tag.
Link copied to clipboard
Link copied to clipboard
open fun handleAttributeOrderConflict(serializerParent: SafeParentInfo, tagParent: SafeParentInfo, outputKind: OutputKind): OutputKind
Link copied to clipboard
open fun handleUnknownContentRecovering(input: XmlReader, inputKind: InputKind, descriptor: XmlDescriptor, name: QName?, candidates: Collection<Any>): List<XML.ParsedData<*>>
Link copied to clipboard
Link copied to clipboard
open fun initialChildReorderMap(parentDescriptor: SerialDescriptor): Collection<XmlOrderConstraint>?
Allow modifying the ordering of children.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Determine whether the key attribute should be collapsed into the value tag rather than the value being nested in a container for the element.
Link copied to clipboard
abstract fun isTransparentPolymorphic(serializerParent: SafeParentInfo, tagParent: SafeParentInfo): Boolean
Link copied to clipboard
Determine the name to use for the map element (only used when a map entry is wrapped)
Link copied to clipboard
Determine the name of map keys for a given map type
Link copied to clipboard
open fun mapValueName(serializerParent: SafeParentInfo, isListEluded: Boolean): XmlSerializationPolicy.DeclaredNameInfo
Determine the name of the values for a given map type
Link copied to clipboard
Link copied to clipboard
open fun overrideSerializerOrNull(serializerParent: SafeParentInfo, tagParent: SafeParentInfo): KSerializer<*>?
Link copied to clipboard
abstract fun polymorphicDiscriminatorName(serializerParent: SafeParentInfo, tagParent: SafeParentInfo): QName?
Link copied to clipboard
Link copied to clipboard
open fun serialTypeNameToQName(typeNameInfo: XmlSerializationPolicy.DeclaredNameInfo, parentNamespace: Namespace): QName
Link copied to clipboard
open fun serialUseNameToQName(useNameInfo: XmlSerializationPolicy.DeclaredNameInfo, parentNamespace: Namespace): QName
Link copied to clipboard
Link copied to clipboard
open fun textListDelimiters(serializerParent: SafeParentInfo, tagParent: SafeParentInfo): Array<String>
Determine the delimiters to use to separate primitive/textual list elements when use inside an element. When writing will always write the first element.
Link copied to clipboard
Link copied to clipboard
open fun updateReorderMap(original: Collection<XmlOrderConstraint>, children: List<XmlDescriptor>): Collection<XmlOrderConstraint>