Class FuncSum
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.FuncSum
- All Implemented Interfaces:
SourceLocator
,ExpressionNode
,XPathVisitable
Execute the Sum() function.
-
Constructor Summary
-
Method Summary
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
-
FuncSum
public FuncSum()
-
-
Method Details
-
execute
Execute the function. The function must return a valid object.- Overrides:
execute
in classFunction
- Parameters:
xctxt
- The current execution context.- Returns:
- A valid XObject.
- Throws:
TransformerException
- in case of error
-