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 XQConnection
getConnection()
XQConnection
getConnection(java.lang.String username, java.lang.String password)
XQConnection
getConnection(java.sql.Connection con)
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
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
-
-