public class FailedAccumulatorData extends java.lang.Object implements IAccumulatorData
Constructor and Description |
---|
FailedAccumulatorData(Accumulator acc,
XPathException error) |
Modifier and Type | Method and Description |
---|---|
Accumulator |
getAccumulator()
Get the associated accumulator
|
Sequence |
getValue(NodeInfo node,
boolean postDescent)
Get the value of the accumulator for a given node
|
public FailedAccumulatorData(Accumulator acc, XPathException error)
public Accumulator getAccumulator()
IAccumulatorData
getAccumulator
in interface IAccumulatorData
public Sequence getValue(NodeInfo node, boolean postDescent) throws XPathException
IAccumulatorData
getValue
in interface IAccumulatorData
node
- the node in questionpostDescent
- false if the pre-descent value of the accumulator is required;
false if the post-descent value is wanted.XPathException
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.