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
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 connectioninfo - 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.