net.sf.saxon.functions
public class Lang extends SystemFunction
Method Summary | |
---|---|
Item | evaluateItem(XPathContext c)
Evaluate in a general context |
int | getIntrinsicDependencies()
Determine the dependencies |
static boolean | isLang(String arglang, NodeInfo target)
Test whether the context node has the given language attribute |
Expression | preEvaluate(ExpressionVisitor visitor)
preEvaluate: this method suppresses compile-time evaluation by doing nothing |
Expression | typeCheck(ExpressionVisitor visitor, ItemType contextItemType) |
Parameters: arglang the language being tested target the target node
Parameters: visitor an expression visitor