public class LooseParserModel extends ParserModel
Format
instances, supporting all the basic java typesComparator
of Date
instances.
IParser
is automatically configured to use these Format
instances, when created by the TableFilterHeader
.Format
or Comparator
definitions, as the
class is used as a singleton.ParserModel.BooleanTypeFormat, ParserModel.ByteTypeFormat, ParserModel.CharacterTypeFormat, ParserModel.DoubleTypeFormat, ParserModel.EnumTypeFormat, ParserModel.FloatTypeFormat, ParserModel.IntegerTypeFormat, ParserModel.LongTypeFormat, ParserModel.ShortTypeFormat, ParserModel.StringTypeFormat
COMPARATOR_PROPERTY, FORMAT_PROPERTY, IGNORE_CASE_PROPERTY
Constructor and Description |
---|
LooseParserModel() |
Modifier and Type | Method and Description |
---|---|
protected IParser |
createParser(Format fmt,
Comparator cmp,
Comparator stringCmp,
boolean ignoreCase,
int modelIndex)
Creates the parser as required with the given parameters
|
addPropertyChangeListener, createParser, getComparator, getFormat, getStringComparator, isIgnoreCase, removePropertyChangeListener, setComparator, setFormat, setIgnoreCase, stringComparator
protected IParser createParser(Format fmt, Comparator cmp, Comparator stringCmp, boolean ignoreCase, int modelIndex)
createParser
in class ParserModel