net.sf.saxon.functions

Class Idref

public class Idref extends SystemFunction

Method Summary
voidcheckArguments(StaticContext env)
intcomputeSpecialProperties()
Get the static properties of this expression (other than its type).
SequenceIteratoriterate(XPathContext context)
Enumerate the results of the expression
ExpressionpreEvaluate(StaticContext env)
preEvaluate: this method suppresses compile-time evaluation by doing nothing
Expressionsimplify(StaticContext env)
Simplify: add a second implicit argument, the context document

Method Detail

checkArguments

public void checkArguments(StaticContext env)

computeSpecialProperties

public int computeSpecialProperties()
Get the static properties of this expression (other than its type). The result is bit-signficant. These properties are used for optimizations. In general, if property bit is set, it is true, but if it is unset, the value is unknown.

iterate

public SequenceIterator iterate(XPathContext context)
Enumerate the results of the expression

preEvaluate

public Expression preEvaluate(StaticContext env)
preEvaluate: this method suppresses compile-time evaluation by doing nothing

simplify

public Expression simplify(StaticContext env)
Simplify: add a second implicit argument, the context document