Package net.sf.saxon.expr.accum

## Interface IAccumulatorData

- All Known Implementing Classes:
    `AccumulatorData`, `FailedAccumulatorData`, `PathMappedAccumulatorData`, `VirtualAccumulatorData`

      public interface IAccumulatorData

  Holds the values of an accumulator function for one non-streamed document

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Accumulator` | `getAccumulator()` | Get the associated accumulator
    `Sequence` | `getValue​(NodeInfo node, boolean postDescent)` | Get the value of the accumulator for a given node

- - ### Method Detail

    - #### getAccumulator

          Accumulator getAccumulator()

      Get the associated accumulator
      Returns:
        the accumulator

    - #### getValue

          Sequence getValue​(NodeInfo node,
                            boolean postDescent)
                     throws XPathException

      Get the value of the accumulator for a given node
      Parameters:
        `node` - the node in question
        `postDescent` - false if the pre-descent value of the accumulator is required; false if the post-descent value is wanted.
      Returns:
        the value of the accumulator for this node
      Throws:
        `XPathException`