Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.caucho.xsl
Class FormatNumberFun

    java.lang.Object
      |
      +--com.caucho.xpath.XPathFun
            |
            +--com.caucho.xsl.FormatNumberFun

public class FormatNumberFun
extends XPathFun

The format-number(...) function.

Constructor Summary
`FormatNumberFun()`

Method Summary
`void` | `addLocale(java.lang.String name, java.text.DecimalFormatSymbols symbols)` Add a new xsl:locale
`java.lang.Object` | `eval(Node node, Env env, Node context, Pattern pattern, java.util.ArrayList args)` Evaluate the function.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FormatNumberFun

    public FormatNumberFun()

Method Detail

### addLocale

    public void addLocale(java.lang.String name,
                          java.text.DecimalFormatSymbols symbols)

  Add a new xsl:locale

### eval

    public java.lang.Object eval(Node node,
                                 Env env,
                                 Node context,
                                 Pattern pattern,
                                 java.util.ArrayList args)

  Evaluate the function.
  Overrides:
    `eval` in class `XPathFun`
  Parameters:
    `pattern` - The context pattern.
    `args` - The evaluated arguments

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD