net.sf.saxon.functions
public class Idref extends SystemFunction
| Method Summary | |
|---|---|
| PathMap.PathMapNodeSet | addToPathMap(PathMap pathMap, PathMap.PathMapNodeSet pathMapNodeSet)
Add a representation of a doc() call or similar function to a PathMap.
|
| void | checkArguments(ExpressionVisitor visitor) |
| int | computeSpecialProperties()
Get the static properties of this expression (other than its type). |
| Expression | copy()
Copy an expression. |
| static SequenceIterator | getIdrefMultiple(DocumentInfo doc, SequenceIterator keys, XPathContext context)
Get the result when multiple idref values are supplied. |
| SequenceIterator | iterate(XPathContext context)
Enumerate the results of the expression |
| Expression | preEvaluate(ExpressionVisitor visitor)
preEvaluate: this method suppresses compile-time evaluation by doing nothing |
| Expression | simplify(ExpressionVisitor visitor)
Simplify: add a second implicit argument, the context document |
| Expression | typeCheck(ExpressionVisitor visitor, ItemType contextItemType)
Type-check the expression. |
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
Returns: the copy of the original expression
Parameters: doc the document to be searched keys the idref values supplied context the dynamic execution context
Returns: iterator over the result of the function
Throws: XPathException
Parameters: visitor an expression visitor
Parameters: visitor an expression visitor