Package-level declarations

Types

Link copied to clipboard
class AttributeDelegate<in TAttribute, out TTransform>(kClass: KClass<*>, isNullable: Boolean, inherited: Boolean, name: String? = null, namespace: String? = null, defaultValue: TTransform? = null, transform: (TAttribute) -> TTransform = { it as TTransform })

Functions

Link copied to clipboard
inline fun <TAttribute> attribute(name: String? = null, namespace: String? = null, defaultValue: TAttribute? = null, inherited: Boolean = false): AttributeDelegate<TAttribute, TAttribute>
inline fun <TAttribute, TTransform> attribute(name: String? = null, namespace: String? = null, defaultValue: TTransform? = null, inherited: Boolean = false, noinline transform: (TAttribute) -> TTransform): AttributeDelegate<TAttribute, TTransform>

Creates an attribute delegate for an XML element property.