M
- the type of data model to read by this readerpublic interface DataModelEventReader<M extends DataModel> extends info.bioinfweb.jphyloio.push.JPhyloIOEventListener
DataModel
.
All implementations should accept an instance of DataModel
as a constructor parameter that
will than be returned by #getModels()
. Implementing classes should not allow to change the model
during runtime, since changing the model between two calls of
JPhyloIOEventListener.processEvent(info.bioinfweb.jphyloio.JPhyloIOEventReader, info.bioinfweb.jphyloio.events.JPhyloIOEvent)
should be avoided.
Modifier and Type | Method and Description |
---|---|
MultiValuedMap<DataModelKey,M> |
getCompletedModels()
Returns the model objects that have been read from the underlying JPhyloIO event stream until now.
|
DataModelFactory<M> |
getFactory()
Returns the factory used to create new data models in this instance.
|
AlignmentDataReader |
getMainReader()
Returns the instance of the main reader (for reading alignment and data models) which
uses this data model reader.
|
AlignmentDataReader getMainReader()
MultiValuedMap<DataModelKey,M> getCompletedModels()
DataModelFactory<M> getFactory()
null
)