Class FuncLang
java.lang.Object
org.loboevolution.apache.xpath.Expression
org.loboevolution.apache.xpath.functions.Function
org.loboevolution.apache.xpath.functions.FunctionOneArg
org.loboevolution.apache.xpath.functions.FuncLang
- All Implemented Interfaces:
SourceLocator
,ExpressionNode
,XPathVisitable
Execute the Lang() function.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.Methods inherited from class org.loboevolution.apache.xpath.functions.FunctionOneArg
callArgVisitors, canTraverseOutsideSubtree, checkNumberArgs, deepEquals, reportWrongNumberArgs, setArg
Methods inherited from class org.loboevolution.apache.xpath.functions.Function
callVisitors, postCompileStep
Methods inherited from class org.loboevolution.apache.xpath.Expression
asIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, num
-
Constructor Details
-
FuncLang
public FuncLang()
-
-
Method Details
-
execute
Execute an expression in the XPath runtime context, and return the result of the expression.- Overrides:
execute
in classFunction
- Parameters:
xctxt
- The XPath runtime context.- Returns:
- The result of the expression in the form of a
XObject
. - Throws:
TransformerException
- if a runtime exception occurs.
-