Class AbstractListReader
java.lang.Object
net.simplace.core.io.AbstractDataReader
net.simplace.core.io.AbstractListReader
- Direct Known Subclasses:
HSQLListReader
Base class of readers that take their data from an object (list or map) instead of a file.
-
Field Summary
FieldsFields inherited from class AbstractDataReader
iColumnsData, iConfigData, iObservable -
Constructor Summary
ConstructorsConstructorDescriptionAbstractListReader(Object aSource, org.jdom2.Element aConfigData, FWObservable aObservable) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidNothing to do for lists.protected voidNothing to do for lists.protected abstract voidprocessList(String aOrientation) Processes the source.voidreadData()Reads the column definitions and processes the source.Methods inherited from class AbstractDataReader
getIntegerValue
-
Field Details
-
iSource
the data source, e.g. a map or collection of values
-
-
Constructor Details
-
AbstractListReader
- Parameters:
aSource- the data source, e.g. a map or collection of valuesaConfigData- the configuration element with one child per columnaObservable- provides the parameters for the configuration values
-
-
Method Details
-
readData
Reads the column definitions and processes the source.- Overrides:
readDatain classAbstractDataReader- Throws:
Exception- if the source cannot be processed
-
processList
-
initColumnHeads
Nothing to do for lists.- Specified by:
initColumnHeadsin classAbstractDataReader- Throws:
Exception- if reading fails
-
initTitle
Nothing to do for lists.- Specified by:
initTitlein classAbstractDataReader- Throws:
Exception- if reading fails
-