public class EmptyDocumentDataAdapter extends EmptyAnnotatedDataAdapter<ConcreteJPhyloIOEvent> implements DocumentDataAdapter
DocumentDataAdapter that models an empty document.
Adapters that need to implement only some of the methods of DocumentDataAdapter could be inherited from this class.
| Constructor and Description |
|---|
EmptyDocumentDataAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<MatrixDataAdapter> |
getMatrixIterator(ReadWriteParameterMap parameters)
Returns an iterator providing access to all matrices contained in the document
to be written.
|
OTUListDataAdapter |
getOTUList(ReadWriteParameterMap parameters,
java.lang.String id)
Returns the OTU list referenced by the specified ID.
|
long |
getOTUListCount(ReadWriteParameterMap parameters)
Returns the number of OTU lists provided by this document adapter.
|
java.util.Iterator<OTUListDataAdapter> |
getOTUListIterator(ReadWriteParameterMap parameters)
Returns an iterator providing access to all OTU lists contained in the document
to be written.
|
java.util.Iterator<TreeNetworkGroupDataAdapter> |
getTreeNetworkGroupIterator(ReadWriteParameterMap parameters)
Returns an iterator providing access to all trees and network groups contained in the
document to be written.
|
writeMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteMetadatapublic EmptyDocumentDataAdapter()
public java.util.Iterator<OTUListDataAdapter> getOTUListIterator(ReadWriteParameterMap parameters)
DocumentDataAdaptergetOTUListIterator in interface DocumentDataAdapterparameters - the parameter map of the calling writer that provides context information for the data requestnull.)public long getOTUListCount(ReadWriteParameterMap parameters)
DocumentDataAdaptergetOTUListCount in interface DocumentDataAdapterparameters - the parameter map of the calling writer that provides context information for the data requestDocumentDataAdapter.getOTUListIterator(ReadWriteParameterMap)public OTUListDataAdapter getOTUList(ReadWriteParameterMap parameters, java.lang.String id) throws java.lang.IllegalArgumentException
DocumentDataAdaptergetOTUList in interface DocumentDataAdapterparameters - the parameter map of the calling writer that provides context information for the data requestid - the ID of the OTU list to be returnedjava.lang.IllegalArgumentException - if no OTU list with the specified ID is availablepublic java.util.Iterator<MatrixDataAdapter> getMatrixIterator(ReadWriteParameterMap parameters)
DocumentDataAdaptergetMatrixIterator in interface DocumentDataAdapterparameters - the parameter map of the calling writer that provides context information for the data requestnull.)public java.util.Iterator<TreeNetworkGroupDataAdapter> getTreeNetworkGroupIterator(ReadWriteParameterMap parameters)
DocumentDataAdaptergetTreeNetworkGroupIterator in interface DocumentDataAdapterparameters - the parameter map of the calling writer that provides context information for the data requestnull.)