Class FailedAccumulatorData

  • All Implemented Interfaces:

    public class FailedAccumulatorData
    extends java.lang.Object
    implements IAccumulatorData
    Represents the values of an accumulator whose evaluation has failed. The error is retained until referenced using accumulator-before() or accumulator-after().
    • Method Detail

      • getValue

        public Sequence getValue​(NodeInfo node,
                                 boolean postDescent)
                          throws XPathException
        Description copied from interface: IAccumulatorData
        Get the value of the accumulator for a given node
        Specified by:
        getValue in interface IAccumulatorData
        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.
        the value of the accumulator for this node
        XPathException - if any error occurs