Uses of Class
org.xquark.xml.xdbc.XMLDBCException

Uses of XMLDBCException in org.xquark.xml.xdbc
 

Subclasses of XMLDBCException in org.xquark.xml.xdbc
 class XMLDBCNotRecognizedException
          This class describes a XMLDBC (Xml DataBase Connectivity) exception for various use in XMLDBC API.
 class XMLDBCNotSupportedException
          This class describes a XMLDBC (Xml DataBase Connectivity) exception for various use in XMLDBC API.
 

Methods in org.xquark.xml.xdbc with parameters of type XMLDBCException
 void XMLErrorHandler.warning(XMLDBCException exception)
          Receive notification of a warning.
 void XMLErrorHandler.error(XMLDBCException exception)
          Receive notification of an error that did not prevent the document storage.
 

Methods in org.xquark.xml.xdbc that throw XMLDBCException
 boolean XMLStatement.execute(java.lang.String query)
          Executes a query statement of the type specified when this object was built with the createStatement method (see XMLConnection interface) that may return results.
 boolean XMLStatement.execute(java.lang.String query, int queryType)
          Executes a query statement of the specified type that may return results.
 XMLResultSet XMLStatement.executeQuery(java.lang.String query)
          Executes a query statement of the type specified when this object was built with the createStatement method (see XMLConnection interface) that returns results.
 XMLResultSet XMLStatement.executeQuery(java.lang.String query, int queryType)
          Executes a query statement of the specified type that returns results.
 XMLDocumentSet XMLStatement.executeDocumentQuery(java.lang.String query)
          Executes a query statement of the type specified when this object was built with the createStatement method (see XMLConnection interface) that returns complete XML documents.
 XMLDocumentSet XMLStatement.executeDocumentQuery(java.lang.String query, int queryType)
          Executes a query statement of the specified type that returns complete XML documents.
 XMLResultSet XMLStatement.getResultSet()
          Returns the current statement results as an XMLResultSet object.
 XMLDocumentSet XMLStatement.getDocumentSet()
          Returns the current statement results as an XMLDocumentSet object.
 void XMLStatement.close()
          Releases the statement XMLDBC resources immediately instead of waiting for this to happen when it is automatically closed.
 int XMLResultSet.getResultCount()
          Returns the number of results in the result set.
 XMLStatement XMLResultSet.getStatement()
          Returns the statement that produced this result set.
 XMLDocument XMLResultSet.getMetaData()
          Returns the result set metadata (the XML Schema that models the returned data) as an XMLDocument.
 java.util.Map XMLResultSet.getPrefixMap()
          Returns the result set prefix map (as prefix-namespace pairs).
 void XMLResultSet.close()
          Releases this result set object's resources immediately instead of waiting for this to happen when it is automatically closed.
 boolean XMLResultSet.isBeforeFirst()
          Indicates whether the cursor is before the first result in this result set.
 org.w3c.dom.Document XMLResultSet.nextAsDocument()
          Returns the next result as a DOM2 document and increments by 1 the cursor position.
 org.w3c.dom.Node XMLResultSet.nextAsDOM()
          Deprecated. Prefer XMLResultSet.nextAsDocument() or XMLResultSet.nextAsDOM(Element) becuse a result may return multiple root nodes.
 void XMLResultSet.nextAsDOM(org.w3c.dom.Element parent)
          Attaches the next result nodes as children of the Element node passed as a parameter to and increments by 1 the cursor position.
 java.lang.String XMLResultSet.nextAsString()
          Returns the next result as an XML string and increments by 1 the cursor position.
 void XMLResultSet.nextAsStream(java.io.Writer out)
          Returns the next result in a provided character stream and increments by 1 the cursor position.
 void XMLResultSet.nextAsSAX()
          Returns the next result as a SAX2 event flow and increments by 1 the cursor position.
 boolean XMLResultSet.hasNext()
          Indicates if there is a next Result after the current Result in ResultSet.
 int XMLResultSet.getPosition()
          Retrieves the current cursor position in ResultSet.
 XMLDocument XMLResultSet.getFragmentsAsDocument(java.lang.String namespace, java.lang.String localName, java.lang.String qName)
          Returns the fragments contained in the result set as a single XML document, with a document root element having the specified namespace, local name and qualified name.
 void XMLErrorHandler.warning(XMLDBCException exception)
          Receive notification of a warning.
 void XMLErrorHandler.error(XMLDBCException exception)
          Receive notification of an error that did not prevent the document storage.
static XMLDriver XMLDriverManager.getDriver(java.lang.String uri)
          Attempts to locate a driver that understands the given URI.
static XMLConnection XMLDriverManager.getConnection(java.lang.String uri)
          Attempts to establish a connection to the given data source URI.
static XMLConnection XMLDriverManager.getConnection(java.lang.String uri, java.lang.String user, java.lang.String password)
          Attempts to establish a connection to the given data source URI with a login/password.
static XMLDataSource XMLDriverManager.getDataSource(java.lang.String uri)
          Returns a handler to a data source with the specified URI.
static void XMLDriverManager.registerDriver(XMLDriver driver)
          Adds the given driver in the driver manager list.
static void XMLDriverManager.deregisterDriver(XMLDriver driver)
          Removes the specified driver from the driver manager list.
 XMLDataSource XMLDriver.getDataSource(java.lang.String uri)
          To obtain a handler to a data source with the specified URI.
 XMLDocument XMLDocumentSet.nextDocument()
          Returns the next result as an XML document and increments by 1 the cursor position.
 void XMLDocumentFiler.close()
          Closes the object and frees its associated resources.
 void XMLDocumentFiler.setDocumentId(java.lang.String id)
          Sets the identifier of the next document to be stored through this object.
 XMLDocument XMLDocumentFiler.insertDocument(org.xml.sax.InputSource input)
          Inserts an XML document in the filer's collection using the SAX method.
 XMLDocument XMLDocumentFiler.insertDocument(org.xml.sax.InputSource input, java.lang.String id)
          Inserts an XML document in the filer's collection using the SAX method.
 XMLDocument XMLDocumentFiler.insertDocument(org.xml.sax.XMLReader parser, org.xml.sax.InputSource input)
          Inserts an XML document in the filer's collection using the SAX method.
 XMLDocument XMLDocumentFiler.insertDocument(org.xml.sax.XMLReader parser, org.xml.sax.InputSource input, java.lang.String id)
          Inserts an XML document in the filer's collection using the SAX method.
 XMLDocument XMLDocumentFiler.insertDocument(org.w3c.dom.Document doc)
          Inserts the XML document in the filer's collection.
 XMLDocument XMLDocumentFiler.insertDocument(org.w3c.dom.Document doc, java.lang.String id)
          Inserts the XML document in the filer's collection with the specified identifier.
 XMLDocument XMLDocumentFiler.insertDocument(java.lang.String doc)
          Inserts the XML document contained in the string in the filer's collection.
 XMLDocument XMLDocumentFiler.insertDocument(java.lang.String doc, java.lang.String id)
          Inserts the XML document contained in the string in the filer's collection with the specified identifier.
 void XMLDocumentFiler.setAutoFlush(boolean activated)
          Turns on or off the automatic buffering mode.
 void XMLDocumentFiler.flushBuffer()
          Sends buffered XML data to the data source.
 void XMLDocumentFiler.clearBuffer()
          Discards the XML data buffered by the filer since the last call to flushBuffer() method.
 void XMLDocument.setIdentifier(java.lang.String identifier)
          Changes the document identifier in the XML collection.
 void XMLDocument.remove()
          Removes the document from the collection to which it belongs.
 org.w3c.dom.Document XMLDocument.getAsDocument()
          Returns the document content as a DOM2 Document.
 org.w3c.dom.Document XMLDocument.getAsDOM()
          Deprecated. New method name is XMLDocument.getAsDocument()
 void XMLDocument.getAsDOM(org.w3c.dom.Element parent)
          Attaches a DOM2 fragment corresponding to the XML document to the Element node passed as a parameter.
 java.lang.String XMLDocument.getAsString()
          Returns the document content as an XML string.
 void XMLDocument.getAsStream(java.io.Writer out)
          Returns the document content in a provided character stream.
 void XMLDocument.getAsSAX()
          Returns the document content as a SAX2 event flow.
 XMLConnection XMLDataSourceMetaData.getConnection()
          To get the XMLConnection object that produced this XMLDataSourceMetaData object.
 java.util.List XMLDataSourceMetaData.getCollectionNames()
          Retrieves the name of all XML collections in this data source.
 java.util.List XMLDataSourceMetaData.getSchemaNamespaces()
          Retrieves the available schema namespaces in the data source.
 XMLDocument XMLDataSourceMetaData.getPathSet(java.lang.String colName)
          Retrieves the XML document describing all existing paths in all documents of the specified XML collection.
 XMLDocument XMLDataSourceMetaData.getSchema(java.lang.String targetNamespace)
          Retrieves the XML document describing the XML schema for the given namespace.
 XMLDocument XMLDataSourceMetaData.getMetaData()
          Retrieves the XML document describing the complete metadata of the data source.
 XMLConnection XMLDataSource.getConnection()
          Attempts to establish a connection with the data source.
 XMLConnection XMLDataSource.getConnection(java.lang.String user, java.lang.String password)
          Attempts to establish a connection with the data source.
 void XMLConnection.close()
          To close the current data source connection.
 boolean XMLConnection.isClosed()
          To know the connection state (opened or closed).
 boolean XMLConnection.isReadOnly()
          To know the read/write mode of the current connection.
 void XMLConnection.setReadOnly(boolean readOnlyMode)
          To change the read/write mode of the connection.
 XMLDataSourceMetaData XMLConnection.getMetaData()
          Gets the metadata regarding this connection's data source.
 XMLDataSourceMetaData XMLConnection.getMetaData(boolean refresh)
          Gets the metadata regarding this connection's data source.
 java.lang.String XMLConnection.getUserName()
          To get the current user name.
 java.lang.String XMLConnection.getURL()
          To get the current URL of this connection.
 XMLStatement XMLConnection.createStatement()
          Creates a statement object for sending XQuery (query type by default) statements to the data source.
 XMLStatement XMLConnection.createStatement(short queryType)
          Creates a statement object for sending XQuery or XPath (according to the specified type) statements to the data source.
 PreparedXMLStatement XMLConnection.prepareStatement(java.lang.String query)
          Creates a prepared statement object for sending parameterized XQuery (query type by default) statements to the data source.
 PreparedXMLStatement XMLConnection.prepareStatement(java.lang.String query, short queryType)
          Creates a prepared statement object for sending parameterized XQuery or XPath (according to the specified type) statements to the data source.
 Configurable XMLConnection.createCollectionConfig()
          Creates a new XML Collection configuration for set features and properties before create a XML Collection.
 XMLCollection XMLConnection.createCollection(java.lang.String name, java.lang.String description, Configurable config)
          Creates a new XML collection.
 void XMLConnection.deleteCollection(java.lang.String name)
          Deletes an XML collection by its name.
 void XMLConnection.renameCollection(java.lang.String oldname, java.lang.String newname)
          Renames an XML collection by its name.
 int XMLConnection.deleteAllCollections()
          Deletes all XML collections of this connection.
 XMLCollection XMLConnection.getCollection(java.lang.String name)
          Creates an XMLcollection object featuring the XML documents collection.
 void XMLConnection.commit()
          Makes all changes made since the previous commit/rollback permanent and releases any data source locks currently held by the Connection.
 void XMLConnection.setAutoCommit(boolean autoCommitMode)
          Sets this connection's auto-commit mode.
 boolean XMLConnection.getAutoCommit()
          To know the current auto-commit state.
 void XMLConnection.rollback()
          Drops all changes made since the previous commit/rollback and releases any data source locks currently held by this Connection.
 short XMLConnection.getTransactionIsolation()
          Gets this Connection's current transaction isolation level.
 void XMLConnection.setTransactionIsolation(short level)
          Attempts to change the transaction isolation level to the one given.
 void XMLCollection.close()
          Closes this XMLCollection.
 java.lang.String XMLCollection.getName()
          Retrieves the unique name of the XML collection.
 java.lang.String XMLCollection.getDescription()
          Retrieves the description of the XML collection.
 void XMLCollection.setDescription(java.lang.String description)
          Sets the description of the XML collection.
 long XMLCollection.getDocumentCount()
          Retrieves the XML collection size (number of documents).
 boolean XMLCollection.isReadOnly()
          Returns true if the XML collection is read-only mode.
 void XMLCollection.setReadOnly(boolean readOnly)
          Changes the read-only mode for this XML collection.
 XMLConnection XMLCollection.getConnection()
          Retrieves the XMLConnection object that produced this XMLCollection.
 XMLDocumentFiler XMLCollection.getDocumentFiler()
          Creates a "filer" object that can be used to insert a new XML document into the XML collection.
 XMLDocument XMLCollection.getDocument(java.lang.String documentID)
          Retrieves an XML document in the XML collection.
 boolean XMLCollection.removeDocument(java.lang.String documentID)
          Removes the named XML document from the XML collection.
 int XMLCollection.removeAllDocuments()
          Removes all XML documents from the XML collection.
 boolean XMLCollection.containsDocument(java.lang.String documentID)
          Checks if a named XML document exists in this XML collection.
 boolean XMLCollection.renameDocument(java.lang.String oldID, java.lang.String newID)
          Renames a document.
 java.util.List XMLCollection.getIdentifierList()
          Returns a list of documents identifiers available in the XML collection.
 void PreparedXMLStatement.setExternalVariable(java.lang.String ns, java.lang.String varName, java.lang.String value)
          Binds the specified external variable to the current query of the statement.
 void PreparedXMLStatement.setObject(java.lang.String ns, java.lang.String varName, java.lang.Object value)
          To set the specified variable with a value inside an object.
 void PreparedXMLStatement.setBigDecimal(java.lang.String ns, java.lang.String varName, java.math.BigDecimal value)
          To set the specified variable with a @link java.math.BigDecimal value.
 void PreparedXMLStatement.setInputStream(java.lang.String ns, java.lang.String varName, java.io.InputStream value, int length)
          To set the specified variable with a @link java.io.InputStream value.
 void PreparedXMLStatement.setBytes(java.lang.String ns, java.lang.String varName, byte[] value)
          To set the specified variable with a byte array value.
 void PreparedXMLStatement.setBoolean(java.lang.String ns, java.lang.String varName, boolean value)
          To set the specified variable with a boolean value.
 void PreparedXMLStatement.setDate(java.lang.String ns, java.lang.String varName, java.util.Date value)
          To set the specified variable with a @link java.util.Date value.
 void PreparedXMLStatement.setDouble(java.lang.String ns, java.lang.String varName, double value)
          To set the specified variable with a double value.
 void PreparedXMLStatement.setFloat(java.lang.String ns, java.lang.String varName, float value)
          To set the specified variable with a float value.
 void PreparedXMLStatement.setLong(java.lang.String ns, java.lang.String varName, long value)
          To set the specified variable with a long value.
 void PreparedXMLStatement.setString(java.lang.String ns, java.lang.String varName, java.lang.String value)
          To set the specified variable with a String value.
 void PreparedXMLStatement.clearVariables()
          Clears the current parameters values immediately.
 boolean PreparedXMLStatement.execute()
          Executes the query statement specified when this object was built with the prepareStatement method (see XMLConnection interface) that may return results.
 XMLResultSet PreparedXMLStatement.executeQuery()
          Executes the query statement specified when this object was built with the prepareStatement method (see XMLConnection interface) that returns results.
 void DefaultReadOnlyXMLConnection.commit()
          Makes all changes made since the previous commit/rollback permanent and releases any data source locks currently held by the connection.
 XMLCollection DefaultReadOnlyXMLConnection.createCollection(java.lang.String name, java.lang.String description, Configurable config)
          To create a new XML collection.
 Configurable DefaultReadOnlyXMLConnection.createCollectionConfig()
          To create a new XML Collection configuration for set features and properties before create a XML Collection.
 int DefaultReadOnlyXMLConnection.deleteAllCollections()
          To delete all XML collections of this connection.
 void DefaultReadOnlyXMLConnection.deleteCollection(java.lang.String name)
          To delete a XML collection by its name.
 boolean DefaultReadOnlyXMLConnection.getAutoCommit()
          To know the current auto-commit state.
 short DefaultReadOnlyXMLConnection.getTransactionIsolation()
          Gets this connection's current transaction isolation level.
 XMLCollection DefaultReadOnlyXMLConnection.getCollection(java.lang.String name)
          To retrieve a XMLcollection by its name.
 boolean DefaultReadOnlyXMLConnection.isReadOnly()
          To know the read/write mode of the current connection.
 void DefaultReadOnlyXMLConnection.renameCollection(java.lang.String oldname, java.lang.String newname)
          To rename an XML collection by its name.
 void DefaultReadOnlyXMLConnection.rollback()
          Drops all changes made since the previous commit/rollback and releases any data source locks currently held by this connection.
 void DefaultReadOnlyXMLConnection.setAutoCommit(boolean autoCommitMode)
          Sets this connection's auto-commit mode.
 void DefaultReadOnlyXMLConnection.setReadOnly(boolean readOnlyMode)
          To change the read/write mode of the connection.
 void DefaultReadOnlyXMLConnection.setTransactionIsolation(short level)
          Attempts to change the transaction isolation level to the one given.
 



Copyright © 2004 Université de Versailles Saint-Quentin, XQuark Group. All rights reserved.