| java.lang.Object net.sf.saxon.expr.ComputedExpression net.sf.saxon.expr.FunctionCall net.sf.saxon.functions.SystemFunction net.sf.saxon.functions.StringLength
StringLength | public class StringLength extends SystemFunction (Code) | | Implement the XPath string-length() function
|
getIntrinsicDependencies | public int getIntrinsicDependencies()(Code) | | Determine the intrinsic dependencies of an expression, that is, those which are not derived
from the dependencies of its subexpressions. For example, position() has an intrinsic dependency
on the context position, while (position()+1) does not. The default implementation
of the method returns 0, indicating "no dependencies".
a set of bit-significant flags identifying the "intrinsic"dependencies. The flags are documented in class net.sf.saxon.value.StaticProperty |
preEvaluate | public Expression preEvaluate(StaticContext env) throws XPathException(Code) | | Pre-evaluate a function at compile time. Functions that do not allow
pre-evaluation, or that need access to context information, can override this method.
|
setShortcut | public void setShortcut()(Code) | | setShortCut() - used by optimizer when we only need to know if the length is non-zero
|
Fields inherited from net.sf.saxon.functions.SystemFunction | protected int operation(Code)(Java Doc)
|
|
|