|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A datasource driver is used to interact with the various datasources which support a known protocol. Interaction includes reading from, writing to and querying the datasource.
Only one instance of a particular datasource driver may exist within a workbench page. But it is possible to interact with any number of datasources with the same instance of the driver. This policy is designed to simplify data access for a user.
This interface may be implemented directly. For convenience, a base implementation is defined in DataSourceDriver.
A datasource driver is ??(added to/used in) the workbench in two steps:
| Field Summary |
| Fields inherited from interface edu.uky.rch.ept.data.IDataAccessMethods |
EOF, RT_DOCUMENT, RT_NODELIST, RT_STRINGS |
| Method Summary | |
IAddressSelector |
getAddressSelector()
Returns a new address selector for this data source. |
String |
getName()
Returns the descriptive name of the driver |
String |
getProtocolIdentifier()
Returns the protocol identifier string that this driver is associated with. |
String |
getWizardPageClass()
Returns the name of the class which implements the wizard page for this driver. |
void |
setName(String name)
Sets the name of the datasource driver |
void |
setProtocolIdentifier(String protocol)
Sets the protocol identifier string for this driver. |
void |
setWizardPageClass(String wizardPageClass)
Sets the wizard page associated with this driver. |
String |
toString()
Returns a description of the datasource driver |
| Methods inherited from interface edu.uky.rch.ept.data.ITextAccessMethods |
getText, insertText, replaceText, storeText |
| Methods inherited from interface edu.uky.rch.ept.data.IDTDAccessMethods |
getDTD, storeDTD |
| Methods inherited from interface edu.uky.rch.ept.data.IImageAccessMethods |
getImage, storeImage |
| Methods inherited from interface edu.uky.rch.ept.data.ICollectionAccessMethods |
createCollection, deleteCollection, getCollectionContents, isCollection, scanCollection |
| Methods inherited from interface edu.uky.rch.ept.data.IXMLAccessMethods |
deleteXML, getXML, getXMLDocument, insertXML, queryXML, replaceXML, replaceXMLContent, storeXML, storeXML |
| Methods inherited from interface edu.uky.rch.ept.data.IConcurrentXMLAccessMethods |
deleteCXML, getCXML, insertCXML, queryCXML, replaceCXML, replaceCXMLContent, storeCXML |
| Methods inherited from interface edu.uky.rch.ept.data.IGenericResourceAccessMethods |
canRead, canWrite, deleteResource, getInputStream, getOutputStream, getOutputStream, renameResource, storeResource |
| Method Detail |
public String getProtocolIdentifier()
public void setProtocolIdentifier(String protocol)
protocol - a string which identifies the protocol implemented
by this driver. eg: http, db, etc.public String getName()
public void setName(String name)
name - descriptive name for the driverpublic void setWizardPageClass(String wizardPageClass)
wizardPageClass - name of a class which extends NewRepositoryWizardPagepublic String getWizardPageClass()
NewRepositoryWizardPage or null if none is associatedpublic String toString()
public IAddressSelector getAddressSelector()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||