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

    Modifier and Type
    Method
    Description
    Get the associated accumulator
    getValue(NodeInfo node, boolean postDescent)
    Get the value of the accumulator for a given node
  • Method Details

    • 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 - if any error occurs