Package org.eclipse.wst.xml.xpath2.processor.internal.types
public class XPathDecimalFormat extends java.text.DecimalFormatThis is an XPath specific implementation of DecimalFormat to handle some of the xpath specific formatting requirements. Specifically it allows for E# to be represented to indicate that the exponent value is optional. Otherwise all existing DecimalFormat patterns are handled as is.
Constructor Summary |
XPathDecimalFormat(java.lang.String pattern) |
Method Summary | |
public java.lang.String | xpathFormat(java.lang.Object obj) Formats the string dropping a Zero Exponent Value if it exists. |
Constructor Detail |
public XPathDecimalFormat(java.lang.String pattern)
Methods Detail |
public java.lang.String xpathFormat(java.lang.Object obj)
Formats the string dropping a Zero Exponent Value if it exists.
obj
java.lang.String