GlobalLink

laika.ast.GlobalLink
trait GlobalLink extends Link

A global link that can point to any document within the input tree or to an external target.

Attributes

Source
base.scala
Graph
Supertypes
trait Link
trait Span
class Element
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Image
class RawLink
class SpanLink

Members list

Type members

Types

type Self <: GlobalLink

Attributes

Source
base.scala

Value members

Abstract methods

Indicates whether this node type supports external targets for *all* output formats.

Indicates whether this node type supports external targets for *all* output formats. This is not true for images, for example, as they require embedding for EPUB and PDF formats.

Attributes

Source
base.scala
def target: Target

The target this link points to.

The target this link points to.

Attributes

Source
base.scala
def withTarget(target: Target): Self

Creates a new instance of this node pointing to the specified target instead.

Creates a new instance of this node pointing to the specified target instead.

Attributes

Source
base.scala

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Returns a new instance of this element with all options removed from it.

Returns a new instance of this element with all options removed from it.

Attributes

Inherited from:
Element
Source
base.scala
def hasId: Boolean

Indicates whether this element has an id assigned.

Indicates whether this element has an id assigned.

Attributes

Inherited from:
Element
Source
base.scala
def hasStyle(name: String): Boolean

Indicates whether this element has the specified style assigned.

Indicates whether this element has the specified style assigned.

Attributes

Inherited from:
Element
Source
base.scala

Returns a new instance of this element with its options merged with the specified options.

Returns a new instance of this element with its options merged with the specified options.

Attributes

Inherited from:
Element
Source
base.scala

Returns a new instance of this element with the new options obtained from applying the specified function to the existing value.

Returns a new instance of this element with the new options obtained from applying the specified function to the existing value.

Attributes

Inherited from:
Element
Source
base.scala

Attributes

Inherited from:
Element
Source
base.scala
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product
def withId(id: String): Self

Returns a new instance of this element with its id set to the specified value, overriding any existing value.

Returns a new instance of this element with its id set to the specified value, overriding any existing value.

Attributes

Inherited from:
Element
Source
base.scala
def withOptions(options: Options): Self

Returns a new instance of this element with the specified options replacing the current value.

Returns a new instance of this element with the specified options replacing the current value.

Attributes

Inherited from:
Element
Source
base.scala
def withStyle(name: String): Self

Returns a new instance of this element with the specified style added to its existing styles.

Returns a new instance of this element with the specified style added to its existing styles.

Attributes

Inherited from:
Element
Source
base.scala
def withStyles(styles: Iterable[String]): Self

Returns a new instance of this element with the specified styles added to its existing styles.

Returns a new instance of this element with the specified styles added to its existing styles.

Attributes

Inherited from:
Element
Source
base.scala
def withStyles(style: String, styles: String*): Self

Returns a new instance of this element with the specified styles added to its existing styles.

Returns a new instance of this element with the specified styles added to its existing styles.

Attributes

Inherited from:
Element
Source
base.scala

Returns a new instance of this element without its id.

Returns a new instance of this element without its id.

Attributes

Inherited from:
Element
Source
base.scala