Package net.sf.saxon.om

## Interface Action

- 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 interface Action

  A functional interface that simply encapsulates a callback action of any kind, allowing the action to fail with an XPathException.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `doAction()` | Perform the action

- - ### Method Detail

    - #### doAction

          void doAction()
                 throws XPathException

      Perform the action
      Throws:
        `XPathException` - if the action fails