class ExtractingContext
An extracting token for each particular element
<init> |
ExtractingContext(data: MutableMap<String, Any>)
An extracting token for each particular element ExtractingContext(data: MutableMap<String, Any> = TreeMap(), contextData: MutableMap<String, Any> = TreeMap(), depth: Int = 0, cycleHandler: MutableSet<Any> = mutableSetOf()) |
contextData |
Context data for actual extracting, Not delivered to web client val contextData: MutableMap<String, Any> |
cycleHandler |
A field to track all references what are part of extracting to avoid infinite loops val cycleHandler: MutableSet<Any> |
data |
Data what are suppose to be for a web client val data: MutableMap<String, Any> |
depth |
Tracking depth of stack during extracting. Important to avoid any infinite loops in potential references var depth: Int |
put |
Put an item into dataset. Swallowing an exception if thrown. name a name of the property minApi minimum supported API for the property convertToString convert value to a string, call a toString on the reference codeBlock lambda to provide a extracted property fun <T> put(name: String, minApi: Int, item: T, convertToString: Boolean = true, codeBlock: T.() -> Any?): Unit fun <T> put(name: String, item: T): Unit |