Class FuncLang
java.lang.Object
org.htmlunit.xpath.Expression
org.htmlunit.xpath.functions.Function
org.htmlunit.xpath.functions.FunctionOneArg
org.htmlunit.xpath.functions.FuncLang
- All Implemented Interfaces:
SourceLocator, ExpressionNode, XPathVisitable
Execute the Lang() function.
-
Field Summary
Fields inherited from class FunctionOneArg
m_arg0 -
Constructor Summary
Constructors -
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 FunctionOneArg
callArgVisitors, canTraverseOutsideSubtree, checkNumberArgs, deepEquals, reportWrongNumberArgs, setArgMethods inherited from class Function
callVisitors, postCompileStepMethods inherited from class 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:
executein 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.
-