org.webdocwf.util.xml
Class XmlDriver

java.lang.Object
  extended byorg.webdocwf.util.xml.XmlDriver
All Implemented Interfaces:
java.sql.Driver

public class XmlDriver
extends java.lang.Object
implements java.sql.Driver

Class implements the JDBC Driver interface for the XmlJdbc driver.

Author:
Zoran Milakovic

Field Summary
static java.lang.String DEFAULT_EXTENSION
           
static java.lang.String FILE_EXTENSION
           
 
Constructor Summary
XmlDriver()
           
 
Method Summary
 boolean acceptsURL(java.lang.String url)
          Description of the Method
 java.sql.Connection connect(java.lang.String url, java.util.Properties info)
          Description of the Method
 int getMajorVersion()
          Gets the majorVersion attribute of the XmlDriver object
 int getMinorVersion()
          Gets the minorVersion attribute of the XmlDriver object
 java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info)
          Gets the propertyInfo attribute of the XmlDriver object
 boolean jdbcCompliant()
          Description of the Method
static void log(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_EXTENSION

public static final java.lang.String DEFAULT_EXTENSION
See Also:
Constant Field Values

FILE_EXTENSION

public static final java.lang.String FILE_EXTENSION
See Also:
Constant Field Values
Constructor Detail

XmlDriver

public XmlDriver()
Method Detail

getPropertyInfo

public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
                                                     java.util.Properties info)
                                              throws java.sql.SQLException
Gets the propertyInfo attribute of the XmlDriver object

Specified by:
getPropertyInfo in interface java.sql.Driver
Parameters:
url - Description of Parameter
info - Description of Parameter
Returns:
The propertyInfo value
Throws:
java.sql.SQLException - Description of Exception
Since:

getMajorVersion

public int getMajorVersion()
Gets the majorVersion attribute of the XmlDriver object

Specified by:
getMajorVersion in interface java.sql.Driver
Returns:
The majorVersion value
Since:

getMinorVersion

public int getMinorVersion()
Gets the minorVersion attribute of the XmlDriver object

Specified by:
getMinorVersion in interface java.sql.Driver
Returns:
The minorVersion value
Since:

connect

public java.sql.Connection connect(java.lang.String url,
                                   java.util.Properties info)
                            throws java.sql.SQLException
Description of the Method

Specified by:
connect in interface java.sql.Driver
Parameters:
url - Description of Parameter
info - Description of Parameter
Returns:
Description of the Returned Value
Throws:
java.sql.SQLException - Description of Exception
Since:

acceptsURL

public boolean acceptsURL(java.lang.String url)
                   throws java.sql.SQLException
Description of the Method

Specified by:
acceptsURL in interface java.sql.Driver
Parameters:
url - Description of Parameter
Returns:
Description of the Returned Value
Throws:
java.sql.SQLException - Description of Exception
Since:

jdbcCompliant

public boolean jdbcCompliant()
Description of the Method

Specified by:
jdbcCompliant in interface java.sql.Driver
Returns:
Description of the Returned Value
Since:

log

public static void log(java.lang.String message)


Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.