Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XQConnectiongetConnection()XQConnectiongetConnection(java.lang.String username, java.lang.String password)XQConnectiongetConnection(java.sql.Connection con)intgetLoginTimeout()java.io.PrintWritergetLogWriter()java.lang.StringgetProperty(java.lang.String name)java.lang.String[]getSupportedPropertyNames()voidsetCommonHandler(XQCommonHandler handler)voidsetLoginTimeout(int seconds)voidsetLogWriter(java.io.PrintWriter out)voidsetProperties(java.util.Properties props)voidsetProperty(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
XQConnection getConnection() throws XQException
- Throws:
XQException
-
getConnection
XQConnection getConnection(java.sql.Connection con) throws XQException
- Throws:
XQException
-
getConnection
XQConnection getConnection(java.lang.String username, java.lang.String password) throws XQException
- Throws:
XQException
-
getLoginTimeout
int getLoginTimeout()
-
getLogWriter
java.io.PrintWriter getLogWriter()
-
getProperty
java.lang.String getProperty(java.lang.String name) throws XQException- Throws:
XQException
-
getSupportedPropertyNames
java.lang.String[] getSupportedPropertyNames()
-
setCommonHandler
void setCommonHandler(XQCommonHandler handler) throws XQException
- Throws:
XQException
-
setLoginTimeout
void setLoginTimeout(int seconds) throws XQException- Throws:
XQException
-
setLogWriter
void setLogWriter(java.io.PrintWriter out) throws XQException- Throws:
XQException
-
setProperties
void setProperties(java.util.Properties props) throws XQException- Throws:
XQException
-
setProperty
void setProperty(java.lang.String name, java.lang.String value) throws XQException- Throws:
XQException
-
-