Locator

final class Locator[E <: AnyTaxonomyElem](val locator: XLinkLocator, val resolvedElem: E) extends ResolvedLocatorOrResource[E]

An XLink locator with the taxonomy element referred to by that locator. The taxonomy element referred to may occur in another document than the locator, which is typically the case.

An XLink locator with the taxonomy element referred to by that locator. The taxonomy element referred to may occur in another document than the locator, which is typically the case.

class Object
trait Matchable
class Any

Value members

Concrete methods

def cast[A <: AnyTaxonomyElem](clsTag: ClassTag[A]): Locator[A]

Creates an equivalent Locator, but casting the resolved element. If we know that the resolved element is of type A, then the cast will succeed.

Creates an equivalent Locator, but casting the resolved element. If we know that the resolved element is of type A, then the cast will succeed.

def transform[A <: AnyTaxonomyElem](f: E => A): Locator[A]

Creates an equivalent Locator, but transforming the resolved element. An example transformation lifts a low level taxonomy element to a higher level of abstraction (such as the table DOM level).

Creates an equivalent Locator, but transforming the resolved element. An example transformation lifts a low level taxonomy element to a higher level of abstraction (such as the table DOM level).

Inherited methods

final def elr: String

Concrete fields

val resolvedElem: E