public class DataProvider extends Object implements DataProviderInterface
| Constructor and Description |
|---|
DataProvider(Identity config,
RecordFactory rf)
Constructor
|
DataProvider(Identity config,
RecordFactory rf,
Document doc)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
getRecord(String handle,
String metaformat) |
Element |
identify() |
Element |
listIdentifiers(String resumptionToken) |
Element |
listIdentifiers(String fileafter,
String filebefore,
String setspec,
String metaformat) |
Element |
listMetadataFormats(String id) |
Element |
listRecords(String resumptionToken) |
Element |
listRecords(String fileafter,
String filebefore,
String setspec,
String metaformat) |
Element |
listSets() |
Element |
listSets(String resumptionToken) |
void |
setDocument(Document doc) |
public DataProvider(Identity config, RecordFactory rf, Document doc)
config - rf - doc - public DataProvider(Identity config, RecordFactory rf)
config - rf - public void setDocument(Document doc)
doc - public Element identify()
identify in interface DataProviderInterfacepublic Element listSets() throws OAIError
listSets in interface DataProviderInterfaceOAIErrorpublic Element listSets(String resumptionToken) throws OAIError
listSets in interface DataProviderInterfaceresumptionToken - OAIErrorpublic Element listMetadataFormats(String id) throws OAIError
listMetadataFormats in interface DataProviderInterfaceid - OAIErrorpublic Element listIdentifiers(String fileafter, String filebefore, String setspec, String metaformat) throws OAIError
listIdentifiers in interface DataProviderInterfacefileafter - filebefore - setspec - metaformat - OAIErrorpublic Element listIdentifiers(String resumptionToken) throws OAIError
listIdentifiers in interface DataProviderInterfaceresumptionToken - OAIErrorpublic Element listRecords(String fileafter, String filebefore, String setspec, String metaformat) throws OAIError
listRecords in interface DataProviderInterfacefileafter - filebefore - setspec - metaformat - OAIErrorpublic Element listRecords(String resumptionToken) throws OAIError
listRecords in interface DataProviderInterfaceresumptionToken - OAIErrorCopyright © 2018 B3Partners B.V.. All rights reserved.