myx
Class myxDatabase
java.lang.Object
myx.myxDatabase
- All Implemented Interfaces:
- org.xmldb.api.base.Configurable, org.xmldb.api.base.Database
public class myxDatabase
- extends java.lang.Object
- implements org.xmldb.api.base.Database
- Author:
- Mladen Adamovic (adamm@blic.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MySqlDriverName
public static final java.lang.String MySqlDriverName
- change this MySQL related data if neccesery
- See Also:
- Constant Field Values
MySqlDbURL
public static final java.lang.String MySqlDbURL
- See Also:
- Constant Field Values
beforeUsername
public java.lang.String beforeUsername
username
public java.lang.String username
beforePass
public java.lang.String beforePass
password
public java.lang.String password
serverName
public static java.lang.String serverName
serverPort
public static java.lang.String serverPort
myxDatabase
public myxDatabase()
setConnection
public java.sql.Connection setConnection(java.sql.Connection newConnection)
getConnection
public java.sql.Connection getConnection()
throws org.xmldb.api.base.XMLDBException
- Throws:
org.xmldb.api.base.XMLDBException
isConnected
public boolean isConnected()
openConnection
public java.sql.Connection openConnection()
throws org.xmldb.api.base.XMLDBException
- Throws:
org.xmldb.api.base.XMLDBException
closeConnection
public void closeConnection()
throws org.xmldb.api.base.XMLDBException
- Throws:
org.xmldb.api.base.XMLDBException
getName
public java.lang.String getName()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getName
in interface org.xmldb.api.base.Database
- Throws:
org.xmldb.api.base.XMLDBException
- See Also:
Database.getName()
getNames
public java.lang.String[] getNames()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getNames
in interface org.xmldb.api.base.Database
- Throws:
org.xmldb.api.base.XMLDBException
- See Also:
Database.getNames()
getCollection
public org.xmldb.api.base.Collection getCollection(java.lang.String uri,
java.lang.String username,
java.lang.String password)
throws org.xmldb.api.base.XMLDBException
- Specified by:
getCollection
in interface org.xmldb.api.base.Database
- Throws:
org.xmldb.api.base.XMLDBException
- See Also:
Database.getCollection(java.lang.String, java.lang.String, java.lang.String)
getCollection
public org.xmldb.api.base.Collection getCollection(java.lang.String colName)
throws org.xmldb.api.base.XMLDBException
- Parameters:
colName
- name of collection to open
- Returns:
- collection with given name
- Throws:
org.xmldb.api.base.XMLDBException
acceptsURI
public boolean acceptsURI(java.lang.String uri)
throws org.xmldb.api.base.XMLDBException
- Specified by:
acceptsURI
in interface org.xmldb.api.base.Database
- Throws:
org.xmldb.api.base.XMLDBException
- See Also:
Database.acceptsURI(java.lang.String)
getConformanceLevel
public java.lang.String getConformanceLevel()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getConformanceLevel
in interface org.xmldb.api.base.Database
- Throws:
org.xmldb.api.base.XMLDBException
- See Also:
Database.getConformanceLevel()
getProperty
public java.lang.String getProperty(java.lang.String name)
throws org.xmldb.api.base.XMLDBException
- Specified by:
getProperty
in interface org.xmldb.api.base.Configurable
- Throws:
org.xmldb.api.base.XMLDBException
- See Also:
Configurable.getProperty(java.lang.String)
setProperty
public void setProperty(java.lang.String name,
java.lang.String value)
throws org.xmldb.api.base.XMLDBException
- Specified by:
setProperty
in interface org.xmldb.api.base.Configurable
- Throws:
org.xmldb.api.base.XMLDBException
- See Also:
Configurable.setProperty(java.lang.String, java.lang.String)
Copyright © 2005 myXMLDB. All Rights Reserved.