Interface RuleTarget

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

public interface RuleTarget
The target of a rule, typically a TemplateRule.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Output diagnostic explanation to an ExpressionPresenter
    void
    Register a rule for which this is the target
  • Method Details

    • 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