Package net.sf.saxon.expr.accum
Class FailedAccumulatorData
- java.lang.Object
- 
- net.sf.saxon.expr.accum.FailedAccumulatorData
 
- 
- All Implemented Interfaces:
- IAccumulatorData
 
 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().
- 
- 
Constructor SummaryConstructors Constructor Description FailedAccumulatorData(Accumulator acc, XPathException error)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AccumulatorgetAccumulator()Get the associated accumulatorSequencegetValue(NodeInfo node, boolean postDescent)Get the value of the accumulator for a given node
 
- 
- 
- 
Constructor Detail- 
FailedAccumulatorDatapublic FailedAccumulatorData(Accumulator acc, XPathException error) 
 
- 
 - 
Method Detail- 
getAccumulatorpublic Accumulator getAccumulator() Description copied from interface:IAccumulatorDataGet the associated accumulator- Specified by:
- getAccumulatorin interface- IAccumulatorData
- Returns:
- the accumulator
 
 - 
getValuepublic Sequence getValue(NodeInfo node, boolean postDescent) throws XPathException Description copied from interface:IAccumulatorDataGet the value of the accumulator for a given node- Specified by:
- getValuein interface- IAccumulatorData
- 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
 
 
- 
 
-