Class FuncSum
java.lang.Object
org.htmlunit.xpath.Expression
org.htmlunit.xpath.functions.Function
org.htmlunit.xpath.functions.FunctionOneArg
org.htmlunit.xpath.functions.FuncSum
- All Implemented Interfaces:
SourceLocator, ExpressionNode, XPathVisitable
Execute the Sum() function.
-
Field Summary
Fields inherited from class FunctionOneArg
m_arg0 -
Constructor Summary
Constructors -
Method Summary
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
-
FuncSum
public FuncSum()
-
-
Method Details
-
execute
Execute the function. The function must return a valid object.- Overrides:
executein classFunction- Parameters:
xctxt- The current execution context.- Returns:
- A valid XObject.
- Throws:
TransformerException- in case of error
-