com.icl.saxon.expr
public class NodeListExpression extends NodeSetExpression
| Constructor Summary | |
|---|---|
| NodeListExpression(Expression exp)
Constructor | |
| Method Summary | |
|---|---|
| void | display(int level)
Diagnostic print of expression structure |
| NodeEnumeration | enumerate(Context c, boolean sort)
Return an enumeration that returns the nodes in document order |
| int | getDependencies()
Determine which aspects of the context the expression depends on. |
| Expression | reduce(int dependencies, Context context)
Perform a partial evaluation of the expression, by eliminating specified dependencies
on the context. |
| Expression | simplify()
Simplify the expression |
Parameters: exp The expression that delivers the unsorted node-set
Parameters: c the evaluation context sort: ignored, this class is used because the enumeration is always in document order
Parameters: dependencies The dependencies to be removed context The context to be used for the partial evaluation
Returns: a new expression that does not have any of the specified dependencies
Returns: the simplified expression