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
Modifier and TypeMethodDescriptionGet the associated accumulatorGet the value of the accumulator for a given node
-
Method Details
-
getAccumulator
Accumulator getAccumulator()Get the associated accumulator- Returns:
- the accumulator
-
getValue
Get the value of the accumulator for a given node- 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
-