ContentDRILink

data class ContentDRILink(val children: List<ContentNode>, val address: DRI, val dci: DCI, val sourceSets: Set<DisplaySourceSet>, val style: Set<Style> = emptySet(), val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()) : ContentLink

All links to classes, packages, etc. that have te be resolved

Constructors

Link copied to clipboard
constructor(children: List<ContentNode>, address: DRI, dci: DCI, sourceSets: Set<DisplaySourceSet>, style: Set<Style> = emptySet(), extra: PropertyContainer<ContentNode> = PropertyContainer.empty())

Properties

Link copied to clipboard
Link copied to clipboard
open override val children: List<ContentNode>
Link copied to clipboard
open override val dci: DCI
Link copied to clipboard
open override val extra: PropertyContainer<ContentNode>
Link copied to clipboard
open override val sourceSets: Set<DisplaySourceSet>
Link copied to clipboard
open override val style: Set<Style>

Functions

Link copied to clipboard
inline fun <T> WithChildren<*>.childrenOfType(): List<T>
Link copied to clipboard
inline fun <T> WithChildren<*>.firstChildOfType(): T
inline fun <T> WithChildren<*>.firstChildOfType(predicate: (T) -> Boolean): T
Link copied to clipboard
inline fun <T> WithChildren<*>.firstChildOfTypeOrNull(predicate: (T) -> Boolean): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun hasAnyContent(): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun transformChildren(transformer: (ContentNode) -> ContentNode): ContentDRILink
Link copied to clipboard
@JvmName(name = "withDescendantsProjection")
fun WithChildren<*>.withDescendants(): Sequence<Any?>
@JvmName(name = "withDescendantsAny")
fun WithChildren<Any>.withDescendants(): Sequence<Any>
Link copied to clipboard
Link copied to clipboard
open override fun withSourceSets(sourceSets: Set<DisplaySourceSet>): ContentDRILink