com.novell.xsl.functions
Class xsltFormatNumber
java.lang.Object
com.novell.xml.xpath.Function
com.novell.xsl.functions.xsltFormatNumber
- public class xsltFormatNumber
- extends Function
Constructor Summary |
xsltFormatNumber()
Construct an object for the format-number() function |
xsltFormatNumber
public xsltFormatNumber()
- Construct an object for the format-number() function
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.