Class NumberHighlighter

java.lang.Object
net.sf.xslthl.Highlighter
net.sf.xslthl.highlighters.NumberHighlighter
Direct Known Subclasses:
HexaDecimalHighlighter

public class NumberHighlighter extends Highlighter
Recognizes numbers. Accepted parameters:
point
character used for the decimal point. If not declared no decimal points are accepted.
thousands
thousand separator
exponent
the string used for recognizing the exponent part of a floating point
pointStarts
a switch, when set the value defined as point can also be used to start a number. For example ".1234" would also be accepted as a number.
prefix
required start of a number, can be useful in the hexnumber highlighter to define how a hexadecimal number is started
suffix
an optional string that can be found after a number, can be define multiple times. This is often used to set the "size" of a integer or floating point.
ignoreCase
all strings parameters are case insensitive
letterNoFollow
If set, numbers may not contain a letter at the end. For example: 123kg will not be seen as a number. This was the default before version 2.1