public class Lang extends SystemFunction
| Constructor and Description |
|---|
Lang() |
| Modifier and Type | Method and Description |
|---|---|
BooleanValue |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
static boolean |
isLang(String arglang,
NodeInfo target)
Test whether the context node has the given language attribute
|
equals, export, exportAttributes, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getExpressionCompiler, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamingAdjunct, importAttributes, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheckgetLength, head, itemAt, iterate, reduce, subsequenceclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, head, itemAt, reduce, subsequencepublic static boolean isLang(String arglang, NodeInfo target)
arglang - the language being testedtarget - the target nodepublic BooleanValue call(XPathContext context, Sequence[] arguments) throws XPathException
context - the dynamic evaluation contextarguments - the values of the arguments, supplied as SequenceIteratorsXPathException - if a dynamic error occurs during the evaluation of the expressionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.