com.softwareag.xtools.quip.xqueryAPI
Interface Driver

All Known Implementing Classes:
QMachineDriver

public interface Driver

This Driver interface must be implemented by every XQuery driver.

Version:
1.0
Author:
Patrick.Lehti@softwareag.com

Method Summary
 boolean acceptsURL(String url)
          Returns true if this driver can handle the given URL.
 Connection connect(String url, Properties info)
          Returns a Connection for the given URL and Properties.
 

Method Detail

acceptsURL

public boolean acceptsURL(String url)
Returns true if this driver can handle the given URL.
Parameters:
url - the URL that should be checked

connect

public Connection connect(String url,
                          Properties info)
                   throws XQueryException
Returns a Connection for the given URL and Properties.
Parameters:
url - the target URL for the requested connection
info - additional properties for the connnection
Returns:
a new Connection to the given URL
Throws:
XQueryException - if any error occurs during connect to the database


Copyright (c) 2001 Software AG. All Rights Reserved.