MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.xqj
Class MXQueryXQDataSource

java.lang.Object
  extended by ch.ethz.mxquery.xqj.MXQueryXQDataSource
All Implemented Interfaces:
javax.xml.xquery.XQDataSource

public class MXQueryXQDataSource
extends java.lang.Object
implements javax.xml.xquery.XQDataSource


Constructor Summary
MXQueryXQDataSource()
           
 
Method Summary
 javax.xml.xquery.XQConnection getConnection()
           
 javax.xml.xquery.XQConnection getConnection(java.sql.Connection con)
           
 javax.xml.xquery.XQConnection getConnection(java.lang.String username, java.lang.String password)
           
 int getLoginTimeout()
           
 java.io.PrintWriter getLogWriter()
           
 java.lang.String getProperty(java.lang.String name)
           
 java.lang.String[] getSupportedPropertyNames()
           
 void setLoginTimeout(int seconds)
           
 void setLogWriter(java.io.PrintWriter out)
           
 void setProperties(java.util.Properties props)
           
 void setProperty(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MXQueryXQDataSource

public MXQueryXQDataSource()
Method Detail

getConnection

public javax.xml.xquery.XQConnection getConnection()
                                            throws javax.xml.xquery.XQException
Specified by:
getConnection in interface javax.xml.xquery.XQDataSource
Throws:
javax.xml.xquery.XQException

getConnection

public javax.xml.xquery.XQConnection getConnection(java.sql.Connection con)
                                            throws javax.xml.xquery.XQException
Specified by:
getConnection in interface javax.xml.xquery.XQDataSource
Throws:
javax.xml.xquery.XQException

getConnection

public javax.xml.xquery.XQConnection getConnection(java.lang.String username,
                                                   java.lang.String password)
                                            throws javax.xml.xquery.XQException
Specified by:
getConnection in interface javax.xml.xquery.XQDataSource
Throws:
javax.xml.xquery.XQException

getLogWriter

public java.io.PrintWriter getLogWriter()
Specified by:
getLogWriter in interface javax.xml.xquery.XQDataSource

getLoginTimeout

public int getLoginTimeout()
Specified by:
getLoginTimeout in interface javax.xml.xquery.XQDataSource

getProperty

public java.lang.String getProperty(java.lang.String name)
                             throws javax.xml.xquery.XQException
Specified by:
getProperty in interface javax.xml.xquery.XQDataSource
Throws:
javax.xml.xquery.XQException

getSupportedPropertyNames

public java.lang.String[] getSupportedPropertyNames()
Specified by:
getSupportedPropertyNames in interface javax.xml.xquery.XQDataSource

setLogWriter

public void setLogWriter(java.io.PrintWriter out)
                  throws javax.xml.xquery.XQException
Specified by:
setLogWriter in interface javax.xml.xquery.XQDataSource
Throws:
javax.xml.xquery.XQException

setLoginTimeout

public void setLoginTimeout(int seconds)
                     throws javax.xml.xquery.XQException
Specified by:
setLoginTimeout in interface javax.xml.xquery.XQDataSource
Throws:
javax.xml.xquery.XQException

setProperties

public void setProperties(java.util.Properties props)
                   throws javax.xml.xquery.XQException
Specified by:
setProperties in interface javax.xml.xquery.XQDataSource
Throws:
javax.xml.xquery.XQException

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
                 throws javax.xml.xquery.XQException
Specified by:
setProperty in interface javax.xml.xquery.XQDataSource
Throws:
javax.xml.xquery.XQException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich