KeepTransformationRule
data class KeepTransformationRule(selector: (Name) -> Boolean) : TransformationRule
Content copied to clipboard
A transformation which keeps all elements, matching selector unchanged.
Constructors
KeepTransformationRule
Link copied to clipboard
Functions
selectItems
Link copied to clipboard
Select all items to be transformed. Item could be a value as well as node
transformItem
Link copied to clipboard
open override fun transformItem(name: Name, item: Meta?, target: MutableMeta)
Content copied to clipboard
Apply transformation for a single item (Node or Value) to the target