Class FormatNumber

All Implemented Interfaces:
Parameters, XPathExpression

public class FormatNumber extends FunctionCallImpl
A implementation of the "format-number()" function call.
method signature:
String format-number(number, string, string?)
The 3rd argument which is optional (string?) is currently not handled.
Version:
$Revision: 3736 $
Author:
Keith Visco
  • Constructor Details

    • FormatNumber

      public FormatNumber()
      Creates a new FormatNumber FunctionCall
  • Method Details

    • evaluate

      public XPathResult evaluate(XPathContext context) throws XPathException
      Evaluates the expression and returns the XPath result.
      Parameters:
      context - The XPathContext to use during evaluation.
      Returns:
      The XPathResult (not null).
      Throws:
      XPathException - if an error occured while evaluating this expression.