com.icl.saxon.expr
public final class EmptyNodeSet extends NodeSetValue
Method Summary | |
---|---|
boolean | asBoolean()
Evaluate as a boolean. |
String | asString()
Convert to string value |
NodeEnumeration | enumerate()
Return an enumeration of this nodeset value. |
boolean | equals(Value other)
Test whether this nodeset "equals" another Value |
Value | evaluate(Context context)
Evaluate the Node Set. |
NodeSetValue | evaluateAsNodeSet(Context context)
Evaluate an expression as a NodeSet. |
int | getCount()
Count the nodes in the node-set. |
NodeInfo | getFirst()
Get the first node in the nodeset (in document order) |
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. |
boolean | isSorted()
Test whether the value is known to be sorted |
boolean | notEquals(Value other)
Test whether this nodeset "not-equals" another Value |
void | setSorted(boolean isSorted)
Set a flag to indicate whether the nodes are sorted. |
NodeSetValue | sort()
Sort the nodes into document order.
|
Returns: false
Returns: an empty string
Parameters: context The context for evaluation (not used)
Parameters: context The context in which the expression is to be evaluated
Returns: the value of the expression, evaluated in the current context
Returns: zero
Returns: null
Returns: true if the value is known to be sorted in document order, false if it is not known whether it is sorted.
Parameters: isSorted true if the caller wishes to assert that the nodes are in document order and do not need to be further sorted
Returns: the same NodeSetValue, after sorting. (Historic)