CrossReference

A cross-reference to a CrossReferenceableNode within the same document. The link with the target is made by matching referenceIds.

Parameters

referenceId

the reference ID of the target node being referenced

Constructors

Link copied to clipboard
constructor(referenceId: String)

Properties

Link copied to clipboard
open override val reference: CrossReference

The reference element to associate with the definition.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> accept(visitor: NodeVisitor<T>): T

Accepts a visitor.

Link copied to clipboard
fun <R, D> ReferenceNode<R, D>.getDefinition(context: Context): D?
Link copied to clipboard

Retrieves the stored media associated with this node, if any.

Link copied to clipboard
fun <R, D> ReferenceNode<R, D>.setDefinition(context: MutableContext, definition: D)

Registers the given definition as the definition associated with this reference within the document handled by context.

Link copied to clipboard