Package org.htmlunit.xpath.functions
Class FuncTranslate
- All Implemented Interfaces:
SourceLocator
,ExpressionNode
,XPathVisitable
Execute the Translate() function.
-
Field Summary
Fields inherited from class org.htmlunit.xpath.functions.Function3Args
arg2_
Fields inherited from class org.htmlunit.xpath.functions.Function2Args
m_arg1
Fields inherited from class org.htmlunit.xpath.functions.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 org.htmlunit.xpath.functions.Function3Args
callArgVisitors, canTraverseOutsideSubtree, checkNumberArgs, deepEquals, reportWrongNumberArgs, setArg
Methods inherited from class org.htmlunit.xpath.functions.Function
callVisitors, postCompileStep
Methods inherited from class org.htmlunit.xpath.Expression
asIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, num
-
Constructor Details
-
FuncTranslate
public FuncTranslate()
-
-
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.
-