/** * Call the function, returning the value as an item. This method will be used * only when the cardinality is zero or one. If the function is tail recursive, * it returns an Object representing the arguments to the next (recursive) call */ public Item evaluateItem(XPathContext c) throws XPathException { return callFunction(c).head(); }
/** * Call the function, returning an iterator over the results. (But if the function is * tail recursive, it returns an iterator over the arguments of the recursive call) */ public SequenceIterator iterate(XPathContext c) throws XPathException { ValueRepresentation result = callFunction(c); return Value.getIterator(result); }
/** * Call the function, returning an iterator over the results. (But if the function is * tail recursive, it returns an iterator over the arguments of the recursive call) */ public SequenceIterator iterate(XPathContext c) throws XPathException { ValueRepresentation result = callFunction(c); return Value.getIterator(result); }
/** * Call the function, returning an iterator over the results. (But if the function is * tail recursive, it returns an iterator over the arguments of the recursive call) */ /*@NotNull*/ public SequenceIterator<?> iterate(XPathContext c) throws XPathException { return callFunction(c).iterate(); }
/** * Call the function, returning the value as an item. This method will be used * only when the cardinality is zero or one. If the function is tail recursive, * it returns an Object representing the arguments to the next (recursive) call */ public Item evaluateItem(XPathContext c) throws XPathException { ValueRepresentation val = callFunction(c); return Value.asItem(val); }
/** * Call the function, returning the value as an item. This method will be used * only when the cardinality is zero or one. If the function is tail recursive, * it returns an Object representing the arguments to the next (recursive) call */ public Item evaluateItem(XPathContext c) throws XPathException { return callFunction(c).head(); }
/** * Call the function, returning an iterator over the results. (But if the function is * tail recursive, it returns an iterator over the arguments of the recursive call) */ /*@NotNull*/ public SequenceIterator<?> iterate(XPathContext c) throws XPathException { return callFunction(c).iterate(); }
/** * Call the function, returning the value as an item. This method will be used * only when the cardinality is zero or one. If the function is tail recursive, * it returns an Object representing the arguments to the next (recursive) call */ public Item evaluateItem(XPathContext c) throws XPathException { ValueRepresentation val = callFunction(c); return Value.asItem(val); }
/** * Call the function, returning an iterator over the results. (But if the function is * tail recursive, it returns an iterator over the arguments of the recursive call) */ public SequenceIterator iterate(XPathContext c) throws XPathException { ValueRepresentation result = callFunction(c); return Value.getIterator(result); }
/** * Call the function, returning the value as an item. This method will be used * only when the cardinality is zero or one. If the function is tail recursive, * it returns an Object representing the arguments to the next (recursive) call */ public Item evaluateItem(XPathContext c) throws XPathException { ValueRepresentation val = callFunction(c); return Value.asItem(val); }