com.icl.saxon.expr
class AttributeReference extends SingletonExpression
| Constructor Summary | |
|---|---|
| AttributeReference(int fingerprint)
Constructor | |
| Method Summary | |
|---|---|
| void | bindParentNode(NodeInfo node)
Bind the reference to a particular node |
| void | display(int level)
Diagnostic print of expression structure |
| boolean | evaluateAsBoolean(Context context)
Evaluate as a boolean. |
| String | evaluateAsString(Context context)
Evaluate as a string. |
| int | getDependencies()
Determine which aspects of the context the expression depends on. |
| NodeInfo | getNode(Context context)
Return the relevant attribute node |
| Expression | reduce(int dependencies, Context context)
Perform a partial evaluation of the expression, by eliminating specified dependencies
on the context. |
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: true if there are any nodes selected by the NodeSetExpression
Parameters: context the evaluation context
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