Interface LinkLabelRenderer


public interface LinkLabelRenderer
Defines a label renderer that depends on the currently evaluated link. A custom renderer can be defined for a link configuration.
Since:
1.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    com.onwbp.base.text.UserMessage
    Returns the label to render for a link.
  • Method Details

    • getLabel

      com.onwbp.base.text.UserMessage getLabel(LinkLabelContext context)
      Returns the label to render for a link. This method will be called as many times as the number of links to and from the current node.
      Parameters:
      context - a Context that provides data to the renderer
      Since:
      1.1.0