Package net.sf.saxon.expr.accum
Class FailedAccumulatorData
java.lang.Object
net.sf.saxon.expr.accum.FailedAccumulatorData
- All Implemented Interfaces:
IAccumulatorData
Represents the values of an accumulator whose evaluation has failed. The error is retained
until referenced using accumulator-before() or accumulator-after().
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the associated accumulatorGet the value of the accumulator for a given node
-
Constructor Details
-
FailedAccumulatorData
-
-
Method Details
-
getAccumulator
Description copied from interface:IAccumulatorData
Get the associated accumulator- Specified by:
getAccumulator
in interfaceIAccumulatorData
- Returns:
- the accumulator
-
getValue
Description copied from interface:IAccumulatorData
Get the value of the accumulator for a given node- Specified by:
getValue
in interfaceIAccumulatorData
- Parameters:
node
- the node in questionpostDescent
- 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
-