Interface ListenerProvider


@Role @Unstable public interface ListenerProvider
Allows to access listener instances.
Since:
15.3RC1, 14.10.8
Version:
$Id: 401cfff9e41523437c22a2d34861728ba54cfb3c $
  • Field Details

  • Method Details

    • accept

      boolean accept(String action, Syntax syntax)
      Parameters:
      action - the action performed by the listener ("render" or "parse")
      syntax - the hint of the syntax using for the action
      Returns:
      true when the listener provider can return a listener for the given action and syntaxHint
    • getListener

      ChainingListener getListener(ListenerChain listenerChain)
      Parameters:
      listenerChain - the listener chain in which the listener will be included
      Returns:
      the listener to add to the listener chain