|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface that every driver class must implement.
It allows new connections from XMLDBC client.
| Method Summary | |
boolean |
acceptsURI(java.lang.String uri)
Returns true if the driver understand the specified connection string |
XMLDataSource |
getDataSource(java.lang.String uri)
To obtain a handle to a data source with the specified URI. |
XMLDataSource |
getDataSource(java.lang.String uri,
java.lang.String user,
java.lang.String password)
To obtain a handle to a data source with the specified URI, user name and password. |
java.lang.String |
getSpecificPart(java.lang.String uri)
Returns the driver-specific part of the URI |
| Method Detail |
public boolean acceptsURI(java.lang.String uri)
throws XMLDBCException
uri - the connection string
XMLDBCException
public java.lang.String getSpecificPart(java.lang.String uri)
throws XMLDBCException
uri -
XMLDBCException - if the URI is not recognized by the driver
public XMLDataSource getDataSource(java.lang.String uri)
throws XMLDBCException
uri - an URI corresponding to a data source.
XMLDBCException - if a data source access error occurs.
public XMLDataSource getDataSource(java.lang.String uri,
java.lang.String user,
java.lang.String password)
throws XMLDBCException
uri - a URI corresponding to a data source.user - a user namepassword - a user password
XMLDBCException - if a data source access error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||