Class FuncNumber
java.lang.Object
org.htmlunit.xpath.Expression
org.htmlunit.xpath.functions.Function
org.htmlunit.xpath.functions.FunctionOneArg
org.htmlunit.xpath.functions.FunctionDef1Arg
org.htmlunit.xpath.functions.FuncNumber
- All Implemented Interfaces:
SourceLocator, ExpressionNode, XPathVisitable
Execute the Number() 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 FunctionDef1Arg
canTraverseOutsideSubtree, checkNumberArgs, getArg0AsNode, getArg0AsNumber, getArg0AsString, reportWrongNumberArgsMethods inherited from class FunctionOneArg
callArgVisitors, deepEquals, 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
-
FuncNumber
public FuncNumber()
-
-
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.
-