getOrCreateChild
open fun <T> getOrCreateChild(@NonNull name: String, @NonNull defaultValueSupplier: Supplier<T>): Xml
Create a child node with a value.
If the node exists return it, otherwise create it.
Return
The child node.
Parameters
name
- The child's name.
defaultValueSupplier
- The value of the child. Called only if the child is besing created.