net.sf.saxon.javax.xml.xquery
Interface XQDataSource

All Superinterfaces:
XQDataFactory
All Known Implementing Classes:
SaxonXQDataSource

public interface XQDataSource
extends XQDataFactory

XQJ interfaces reconstructed from version 0.5 documentation


Method Summary
 XQConnection getConnection()
           
 XQConnection getConnection(java.sql.Connection con)
           
 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 setCommonHandler(XQCommonHandler handler)
           
 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 interface net.sf.saxon.javax.xml.xquery.XQDataFactory
createAtomicItemType, createItem, createItemFromAtomicValue, createItemFromBoolean, createItemFromByte, createItemFromDocument, createItemFromDouble, createItemFromFloat, createItemFromInt, createItemFromLong, createItemFromNode, createItemFromObject, createItemFromShort, createItemType, createItemType, createSequence, createSequence, createSequenceType
 

Method Detail

getConnection

public XQConnection getConnection()
                           throws XQException
Throws:
XQException

getConnection

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

getConnection

public XQConnection getConnection(java.lang.String username,
                                  java.lang.String password)
                           throws XQException
Throws:
XQException

getLoginTimeout

public int getLoginTimeout()

getLogWriter

public java.io.PrintWriter getLogWriter()

getProperty

public java.lang.String getProperty(java.lang.String name)
                             throws XQException
Throws:
XQException

getSupportedPropertyNames

public java.lang.String[] getSupportedPropertyNames()

setCommonHandler

public void setCommonHandler(XQCommonHandler handler)
                      throws XQException
Throws:
XQException

setLoginTimeout

public void setLoginTimeout(int seconds)
                     throws XQException
Throws:
XQException

setLogWriter

public void setLogWriter(java.io.PrintWriter out)
                  throws XQException
Throws:
XQException

setProperties

public void setProperties(java.util.Properties props)
                   throws XQException
Throws:
XQException

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
                 throws XQException
Throws:
XQException