com.novell.xsl.functions
Class xsltFormatNumber

java.lang.Object
  extended bycom.novell.xml.xpath.Function
      extended bycom.novell.xsl.functions.xsltFormatNumber

public class xsltFormatNumber
extends Function


Constructor Summary
xsltFormatNumber()
          Construct an object for the format-number() function
 
Method Summary
 ExpressionValue invoke(Object[] args)
          Perform format-number() function
 String toString()
          Return function name.
 
Methods inherited from class com.novell.xml.xpath.Function
getInstance, getSignature, isConstant, registerForReset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

xsltFormatNumber

public xsltFormatNumber()
Construct an object for the format-number() function

Method Detail

invoke

public ExpressionValue invoke(Object[] args)
                       throws XPathEvaluationException
Perform format-number() function

Overrides:
invoke in class Function
Parameters:
args - List of arguments. First and seconds args are context node and expression context Third argument is a number to format Fourth argument is a pattern string for formatting number Optional fifth argument is a QName giving the name of the decimal-format to use
Returns:
An StringValue containing the property
Throws:
XPathEvaluationException

toString

public String toString()
Return function name.

Returns:
Function name.