Package eu.bandm.tools.xslt.base
Class XslNumberFormat
java.lang.Object
eu.bandm.tools.xslt.base.XslNumberFormat
Aux class for parsing and formatting numbers according to the
xsl:Element_number conversion parameters, see [XSLT 1.0:7.7.1].
-
Field Summary
Modifier and TypeFieldDescription(package private) static final XslNumberFormat
Docu [XSLT 1.0] is not clear.(package private) final int
(package private) String
Does not really make sense.(package private) static Pattern
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) String
FIXME groupSep, groupSize not yet supported.(package private) String
format_alpha
(int i) (package private) static XslNumberFormat
-
Field Details
-
numberFormatPattern
-
deflt
Docu [XSLT 1.0] is not clear. Xalan uses "1", not "1.". -
format
String formatDoes not really make sense. We support only a, A, i, I, 1, 01, 001, up to 00001. The sequence of usage is (e.g. with two(2) given formats "[a.a]"separator[0] separator[1] separator[1] separator[2] format[0] format[1] format[1]
-
separators
-
formats
-
distance
final int distance- See Also:
-
-
Constructor Details
-
XslNumberFormat
XslNumberFormat(String format)
-
-
Method Details
-
getDefault
-
format
FIXME groupSep, groupSize not yet supported. -
format_alpha
-