XmlNamespaceDeclSpecs

@SerialInfo
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.PROPERTY])
annotation class XmlNamespaceDeclSpecs(val value: String)(source)

Annotation allowing to specify namespaces specifications to be generated upon the element. As multiple annotations are not supported by the plugin this uses a single string. Each declaration is of the form (prefix)=(namespace). To specify the default namespace it is valid to omit the equals sign.

Properties

Link copied to clipboard
val XmlNamespaceDeclSpecs.namespaces: List<Namespace>

Accessor that reads the declared namespaces out of an XmlNamespaceDeclSpecs instance.

Link copied to clipboard
val value: Array<out String>

The actual specification: "prefix1=urn:namespace1;defaultNamespace"