Class FuncTranslate
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.Function2Args
org.loboevolution.apache.xpath.functions.Function3Args
org.loboevolution.apache.xpath.functions.FuncTranslate
- All Implemented Interfaces:
SourceLocator
,ExpressionNode
,XPathVisitable
Execute the Translate() 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.Function3Args
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
-
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.
-