ChildNodeTransformer

data class ChildNodeTransformer<Source, Target, Child>(val name: String, val get: (Source) -> Any?, val setter: (Target, Child?) -> Unit?)

Information on how to retrieve a child node.

The setter could be null, if the property is not mutable. In that case the value must necessarily be passed when constructing the parent.

Constructors

Link copied to clipboard
constructor(name: String, get: (Source) -> Any?, setter: (Target, Child?) -> Unit?)

Functions

Link copied to clipboard
fun set(node: Target, child: Child?)

Properties

Link copied to clipboard
val get: (Source) -> Any?
Link copied to clipboard
Link copied to clipboard
val setter: (Target, Child?) -> Unit?