public class FormatNumberFun extends XPathFun
Constructor and Description |
---|
FormatNumberFun() |
Modifier and Type | Method and Description |
---|---|
void |
addLocale(java.lang.String name,
java.text.DecimalFormatSymbols symbols)
Add a new xsl:locale
|
java.lang.Object |
eval(org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern pattern,
java.util.ArrayList args)
Evaluate the function.
|
java.util.HashMap |
getLocales() |
public void addLocale(java.lang.String name, java.text.DecimalFormatSymbols symbols)
public java.util.HashMap getLocales()
public java.lang.Object eval(org.w3c.dom.Node node, ExprEnvironment env, AbstractPattern pattern, java.util.ArrayList args) throws XPathException
eval
in class XPathFun
pattern
- The context pattern.args
- The evaluated argumentsXPathException