Node

sealed trait Node

Any node that can be a relationship source or target in the model. There are 2 immediate sub-types: LocatorNode and ResourceNode (abstractions of XLink locators and XLink resources, respectively).

Any node that can be a relationship source or target in the model. There are 2 immediate sub-types: LocatorNode and ResourceNode (abstractions of XLink locators and XLink resources, respectively).

A LocatorNode is a unique key to a taxonomy element, and not the taxonomy element itself. This decoupling respects the fact that it is not known beforehand how relationships in taxonomies are traversed. ResourceNodes, on the other hand, are the taxonomy elements themselves.

Note that Nodes are easy to create on the fly, which is by design.

Authors

Chris de Vreeze

Companion
object
class Object
trait Matchable
class Any