Interface Accessibility.RelationResolver

Enclosing class:
Accessibility
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Accessibility.RelationResolver
What Accessibility.resolveRelations(limn.accessibility.Accessibility.RelationResolver) turns a relation's target into a node identifier with. It is handed the kind as well as the target, because one kind resolves differently: a LABEL_FOR naming a composite lands on the child the composite says carries its label, and only the walk knows that.
  • Method Details

    • resolve

      long resolve(Accessible.Relation kind, Object target)
      Parameters:
      kind - what the link means
      target - the object the declaring hook named
      Returns:
      the identifier of the node this walk published for it, or 0 for none