com.icl.saxon.expr
public abstract class NodeSetExpression extends Expression
Method Summary | |
---|---|
abstract NodeEnumeration | enumerate(Context context, boolean sorted)
Return a node enumeration. |
Value | evaluate(Context context)
Evaluate this node-set. |
boolean | evaluateAsBoolean(Context context)
Evaluate as a boolean. |
NodeSetValue | evaluateAsNodeSet(Context context)
Evaluate an expression as a NodeSet. |
String | evaluateAsString(Context context)
Evaluate as a string. |
int | getDataType()
Determine the data type of the exprssion, if possible |
void | outputStringValue(Outputter out, Context context)
Evaluate an expression as a String and write the result to the
specified outputter. |
NodeInfo | selectFirst(Context context)
Return the first node selected by this Expression when evaluated
in the current context |
Parameters: context The evaluation context sorted True if the nodes must be returned in document order
Parameters: context The context in which the expression is to be evaluated
Returns: true if there are any nodes selected by the NodeSetExpression
Parameters: context The context in which the expression is to be evaluated
Returns: the value of the expression, evaluated in the current context
Parameters: context The context in which the expression is to be evaluated
Returns: the value of the NodeSetExpression, evaluated in the current context
Returns: Value.NODESET
Parameters: context The context in which the expression is to be evaluated
Returns: the value of the expression, evaluated in the current context
Parameters: context The context for the evaluation
Returns: the NodeInfo of the first node in document order, or null if the node-set is empty.