org.xquark.xml.xdbc
Interface XMLDriver


public interface XMLDriver

The interface that every driver class must implement.

It allows new connections from XMLDBC client.


Method Summary
 XMLDataSource getDataSource(java.lang.String uri)
          To obtain a handler to a data source with the specified URI.
 

Method Detail

getDataSource

public XMLDataSource getDataSource(java.lang.String uri)
                            throws XMLDBCException
To obtain a handler to a data source with the specified URI.

Parameters:
uri - an URI corresponding to a data source.
Returns:
an instance of the specified data source, or null if the driver does not know this type of data source
Throws:
XMLDBCException - if a data source access error occurs.


Copyright © 2004 Université de Versailles Saint-Quentin, XQuark Group. All rights reserved.