public abstract class StoreAnnotatedDataAdapter<E extends JPhyloIOEvent> extends java.lang.Object implements AnnotatedDataAdapter
Constructor and Description |
---|
StoreAnnotatedDataAdapter(java.util.List<JPhyloIOEvent> annotations) |
Modifier and Type | Method and Description |
---|---|
java.util.List<JPhyloIOEvent> |
getAnnotations() |
void |
writeMetadata(ReadWriteParameterMap parameters,
JPhyloIOEventReceiver receiver)
Writes events describing the metadata associated with the object represented by this instance.
|
public StoreAnnotatedDataAdapter(java.util.List<JPhyloIOEvent> annotations)
public void writeMetadata(ReadWriteParameterMap parameters, JPhyloIOEventReceiver receiver) throws java.io.IOException
AnnotatedDataAdapter
writeMetadata
in interface AnnotatedDataAdapter
parameters
- the parameter map of the calling writer that provides context information for the data requestreceiver
- the writer accepting the eventsjava.io.IOException
public java.util.List<JPhyloIOEvent> getAnnotations()