com.icl.saxon.functions
public class Current extends Function
| Method Summary | |
|---|---|
| Value | evaluate(Context c)
Evaluate in a general context |
| NodeSetValue | evaluateAsNodeSet(Context c)
Evaluate the function in a node-set context |
| int | getDataType()
Determine the data type of the expression |
| int | getDependencies()
Determine the dependencies |
| String | getName()
Function name (for diagnostics) |
| boolean | isContextDocumentNodeSet()
Determine, in the case of an expression whose data type is Value.NODESET,
whether all the nodes in the node-set are guaranteed to come from the same
document as the context node. |
| Expression | reduce(int dep, Context c)
Reduce the dependencies |
| Expression | simplify()
Simplify and validate. |
Returns: Value.NODESET