XmlConfig

Configuration for the xml parser.

Constructors

Link copied to clipboard
constructor(builder: XmlConfig.Builder = Builder())

Types

Link copied to clipboard
class Builder

Configuration for the xml parser.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The indentation to use. This is passed to the XmlWriter. Note that at this point no validation of the indentation is done, if it is not valid whitespace it will produce unexpected XML.

Link copied to clipboard
Link copied to clipboard

This property determines whether the serialization will collect all used namespaces and emits all namespace attributes on the root tag.

Link copied to clipboard

Determines whether inline classes are merged with their content. Note that inline classes may still determine the tag name used for the data even if the actual contents come from the child content. The actual name used is ultimately determined by the policy in use.

Link copied to clipboard

This property can be used to disable various checks on the correctness of the serializer descriptions. This should speed up processing, but may give surprising results in the presence of an error. Note that this doesn't disable all checks, but mainly expensive ones on matters like order, or checks on serial format. This does not disable the checking

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The policy allows for dynamic configuration of the creation of the XML tree that represents the serialized format.

Link copied to clipboard

Should namespaces automatically be repaired. This option will be passed on to the XmlWriter

Link copied to clipboard
Link copied to clipboard