public static class XPathTestHelpers.CountingAF extends AbstractFunction<Integer>
AbstractFunction
that counts its invocations and
exposes this through a public variable. It also returns the count
as its result.Modifier and Type | Field and Description |
---|---|
int |
count |
Constructor and Description |
---|
XPathTestHelpers.CountingAF(String nsUri,
String name) |
Modifier and Type | Method and Description |
---|---|
protected Integer |
processArg(int index,
Node value,
Integer helper) |
evaluate, getResult, init, processArg, processArg, processArg, processArg, processNullArg, processUnexpectedArg
compareTo, equals, getMaxArgCount, getMinArgCount, getName, getNamespaceUri, getQName, hashCode, isArityMatch, isMatch
protected Integer processArg(int index, Node value, Integer helper) throws Exception
processArg
in class AbstractFunction<Integer>
Exception