net.sf.saxon.javax.xml.xquery

Interface XQDataSource

Known Implementing Classes:
SaxonXQDataSource

public interface XQDataSource

XQJ interfaces reconstructed from version 0.5 documentation

Method Summary

XQConnection
getConnection()
XQConnection
getConnection(String username, String password)
XQConnection
getConnection(java.sql.Connection con)
PrintWriter
getLogWriter()
int
getLoginTimeout()
String
getProperty(String name)
String[]
getSupportedPropertyNames()
void
setLogWriter(PrintWriter out)
void
setLoginTimeout(int seconds)
void
setProperties(Properties props)
void
setProperty(String name, String value)

Method Details

getConnection

public XQConnection getConnection()
            throws XQException

getConnection

public XQConnection getConnection(String username,
                                  String password)
            throws XQException

getConnection

public XQConnection getConnection(java.sql.Connection con)
            throws XQException

getLogWriter

public PrintWriter getLogWriter()

getLoginTimeout

public int getLoginTimeout()

getProperty

public String getProperty(String name)
            throws XQException

getSupportedPropertyNames

public String[] getSupportedPropertyNames()

setLogWriter

public void setLogWriter(PrintWriter out)
            throws XQException

setLoginTimeout

public void setLoginTimeout(int seconds)
            throws XQException

setProperties

public void setProperties(Properties props)
            throws XQException

setProperty

public void setProperty(String name,
                        String value)
            throws XQException