net.sf.saxon.functions
public class Collection extends SystemFunction
Method Summary | |
---|---|
PathMap.PathMapNodeSet | addToPathMap(PathMap pathMap, PathMap.PathMapNodeSet pathMapNodeSet)
Add a representation of this expression to a PathMap. |
void | checkArguments(ExpressionVisitor visitor) |
int | computeSpecialProperties() |
static SequenceIterator | getResolverResults(SequenceIterator iter, String baseURI, XPathContext context, SourceLocator locator) |
String | getStaticBaseURI() |
SequenceIterator | iterate(XPathContext context)
Iterate over the contents of the collection |
Expression | preEvaluate(ExpressionVisitor visitor)
preEvaluate: this method suppresses compile-time evaluation by doing nothing |
Parameters: pathMap the PathMap to which the expression should be added pathMapNodeSet
Returns: the pathMapNode representing the focus established by this expression, in the case where this expression is the first operand of a path expression or filter expression
Parameters: context the dynamic context
Returns: an iterator, whose items will always be nodes (typically but not necessarily document nodes)
Throws: XPathException
Parameters: visitor an expression visitor