public class StoreTreeNetworkGroupDataAdapter extends StoreAnnotatedDataAdapter<LinkedLabeledIDEvent> implements TreeNetworkGroupDataAdapter
Constructor and Description |
---|
StoreTreeNetworkGroupDataAdapter(LinkedLabeledIDEvent treeOrNetworkGroupStartEvent,
java.util.List<JPhyloIOEvent> annotations) |
Modifier and Type | Method and Description |
---|---|
LinkedLabeledIDEvent |
getStartEvent(ReadWriteParameterMap parameters)
Returns the start event of this data element.
|
java.util.Iterator<TreeNetworkDataAdapter> |
getTreeNetworkIterator(ReadWriteParameterMap parameters)
Returns an iterator providing access to all trees and networks contained in the
document to be written.
|
java.util.List<TreeNetworkDataAdapter> |
getTreesAndNetworks() |
StoreObjectListDataAdapter<LinkedLabeledIDEvent> |
getTreeSets(ReadWriteParameterMap parameters)
Returns a list of tree sets defined for the tree-network-group modeled by this instance.
|
getAnnotations, writeMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeMetadata
public StoreTreeNetworkGroupDataAdapter(LinkedLabeledIDEvent treeOrNetworkGroupStartEvent, java.util.List<JPhyloIOEvent> annotations)
public LinkedLabeledIDEvent getStartEvent(ReadWriteParameterMap parameters)
ElementDataAdapter
getStartEvent
in interface ElementDataAdapter<LinkedLabeledIDEvent>
parameters
- the parameter map of the calling writer that provides context information for the data requestpublic java.util.Iterator<TreeNetworkDataAdapter> getTreeNetworkIterator(ReadWriteParameterMap parameters)
TreeNetworkGroupDataAdapter
getTreeNetworkIterator
in interface TreeNetworkGroupDataAdapter
parameters
- the parameter map of the calling writer that provides context information for the data requestnull
.)public java.util.List<TreeNetworkDataAdapter> getTreesAndNetworks()
public StoreObjectListDataAdapter<LinkedLabeledIDEvent> getTreeSets(ReadWriteParameterMap parameters)
TreeNetworkGroupDataAdapter
getTreeSets
in interface TreeNetworkGroupDataAdapter
parameters
- the parameter map of the calling writer that provides context information for the data request