XmlPolyChildren

annotation class XmlPolyChildren(val value: Array<String>)(source)

Indicate the valid polymorphic children for this element. This is a legacy annotation supporting polymorphic (de)serialization without modules.

Properties

Link copied to clipboard

Each string specifies a child according to the following format: childSerialName[=[prefix:]localName]. The childSerialName is the name value of the descriptor. By default that would be the class name, but @SerialName will change that. If the name is prefixed with a . the package name of the container will be prefixed. Prefix is the namespace prefix to use (the namespace will be looked up based upon this). Localname allows to specify the local name of the tag.