org.exolab.adaptx.xpath.functions

Class FormatNumber

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 Summary
FormatNumber()
Creates a new FormatNumber FunctionCall
Method Summary
XPathResultevaluate(XPathContext context)
Evaluates the expression and returns the XPath result.

Constructor Detail

FormatNumber

public FormatNumber()
Creates a new FormatNumber FunctionCall

Method Detail

evaluate

public XPathResult evaluate(XPathContext context)
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.