Package net.sf.saxon.trans.rules

## Interface RuleTarget

- All Known Implementing Classes:
    `AccumulatorRule`, `Stripper.StripRuleTarget`, `TemplateRule`, `TemplateRuleEE`

      public interface RuleTarget

  The target of a rule, typically a TemplateRule.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `export​(ExpressionPresenter presenter)` | Output diagnostic explanation to an ExpressionPresenter
    `void` | `registerRule​(Rule rule)` | Register a rule for which this is the target

- - ### Method Detail

    - #### export

          void export​(ExpressionPresenter presenter)
               throws XPathException

      Output diagnostic explanation to an ExpressionPresenter
      Parameters:
        `presenter` - the destination for the explanation
      Throws:
        `XPathException` - if output fails

    - #### registerRule

          void registerRule​(Rule rule)

      Register a rule for which this is the target
      Parameters:
        `rule` - a rule in which this is the target