public class AccumulatorRegistryEE extends AccumulatorRegistryPE
accumulatorsByName| Constructor and Description |
|---|
AccumulatorRegistryEE() |
| Modifier and Type | Method and Description |
|---|---|
Sequence |
getStreamingAccumulatorValue(NodeInfo node,
Accumulator accumulator,
AccumulatorFn.Phase phase)
Get the run-time value of a streamed accumulator
|
static Map<Accumulator,AccumulatorWatch> |
registerSelectedAccumulators(WatchManager watchManager,
List<Accumulator> accumulators)
Register all the rules for all the accumulators with a WatchManager handling events for a streaming
pass over a source document
|
addAccumulator, getAccumulator, getAllAccumulators, getUsedAccumulatorspublic static Map<Accumulator,AccumulatorWatch> registerSelectedAccumulators(WatchManager watchManager, List<Accumulator> accumulators) throws XPathException
watchManager - the WatchManager with which the rules are to be registeredXPathException - if an error occurspublic Sequence getStreamingAccumulatorValue(NodeInfo node, Accumulator accumulator, AccumulatorFn.Phase phase) throws XPathException
getStreamingAccumulatorValue in class AccumulatorRegistryPEnode - the context nodeaccumulator - the accumulator whose value is requiredphase - pre-descent or post-descentXPathExceptionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.