Selector

laika.rewrite.link.Selector
sealed trait Selector

Represents a selector used for matching reference nodes to target nodes. The selectors often differ from both, the ids rendered in the final document and the ids used for display.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def global: Boolean

Indicates whether this selector is applicable beyond the boundaries of a single document.

Indicates whether this selector is applicable beyond the boundaries of a single document.

Attributes

def unique: Boolean

Indicates whether this selector has to be unique within its scope.

Indicates whether this selector has to be unique within its scope.

When the global flag is set it must be globally unique, otherwise it must only be unique within the document it occurs in.

Attributes