Class FuncNumber

All Implemented Interfaces:
SourceLocator, ExpressionNode, XPathVisitable

public class FuncNumber extends FunctionDef1Arg
Execute the Number() function.
  • Constructor Details

    • FuncNumber

      public FuncNumber()
  • Method Details

    • execute

      public XObject execute(XPathContext xctxt) throws TransformerException
      Execute an expression in the XPath runtime context, and return the result of the expression.
      Overrides:
      execute in class Function
      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.