Uses of Class
org.backsource.xindice.XindiceException

Packages that use XindiceException
org.backsource.xindice Xindice XML db adapter, and amsterdam services that uses the adapter. 
org.backsource.xindice.cursor Cursors for XML:DB ResourseSet. 
 

Uses of XindiceException in org.backsource.xindice
 

Methods in org.backsource.xindice that throw XindiceException
protected  void AmsterdamXindiceBase.updateExistingCollections()
          Moved here to make it possible to update the existing collections.
protected  java.lang.String[] AmsterdamXindiceBase.getCollections(org.w3c.dom.Document doc, boolean create)
          Get the collection(s) connected to this configuration.
protected  java.lang.String AmsterdamXindiceBase.getCollectionName(java.lang.String colName)
          Template method to use in sublclasses that wants to map incomming collection name to another, this version just returns the name.
protected  boolean AmsterdamXindiceBase.validateCollection(java.lang.String colName, boolean create)
          Validate that the collection exists, if create is true try create one.
protected  void AmsterdamXindiceManagementFilter.pruneCollection(XindiceAdapter ad, org.xmldb.api.base.ResourceSet set)
           
protected  java.lang.String[] AmsterdamXindicePublisher.getCollections(org.w3c.dom.Document doc, boolean create)
          Get the collection(s) this message should be saved in.
protected  java.lang.String AmsterdamXindicePublisher.getCollectionName(java.lang.String colName)
          Template method to use in sublclasses that wants to map incomming collection name to another, this version just returns the name.
protected  boolean AmsterdamXindicePublisher.validateCollection(java.lang.String colName, boolean create)
          Validate that the collection exists, if create is true try create one.
 void PooledXindiceAdapter.addDocument(java.lang.String collection, java.lang.String data, java.lang.String id)
           
 void XindiceAdapter.createCollection(java.lang.String colName)
          Allows to create a collection

The database needs to be running see Xindice for details.

 void XindiceAdapter.deleteCollection(java.lang.String colName)
          Allows to delete a collection

The database needs to be running see Xindice for details.

 void XindiceAdapter.openCollection(java.lang.String path)
          Allows to set the path of a collection and to open it.
 void XindiceAdapter.openCollection()
          Allows to open a collection.
 void XindiceAdapter.closeCollection()
          Allows to close a collection

The database needs to be running see Xindice for details.

 java.lang.String[] XindiceAdapter.listCollection()
          Allows to list a collection

The database needs to be running see Xindice for details.

 void XindiceAdapter.addDocument(java.lang.String data, java.lang.String id)
          Allows to add a document to the collection

The database needs to be running see Xindice for details.

 void XindiceAdapter.addDocument(org.w3c.dom.Node data, java.lang.String id)
           
 void XindiceAdapter.addDocument(org.w3c.dom.Node data, java.lang.String id, boolean update)
          Adds a document to the database.
 boolean XindiceAdapter.hasDocument(java.lang.String id)
          Checks if this collection has a document matching the specified key.
 java.lang.String XindiceAdapter.retrieveDocument(java.lang.String id)
          Allows to retrieve a document from the collection

The database needs to be running see Xindice for details.

 org.xmldb.api.base.ResourceSet XindiceAdapter.query(java.lang.String xpath)
           
 org.xmldb.api.base.ResourceSet XindiceAdapter.query(java.lang.String id, java.lang.String xpath)
           
 void XindiceAdapter.deleteDocument(java.lang.String id)
          Allows to delete a document in the collection

The database needs to be running see Xindice for details.

 java.lang.String[] XindiceAdapter.listDocuments()
          Allows to list all document of the collection

The database needs to be running see Xindice for details.

 XindiceAdapter XindicePool.getAdapter(java.lang.String col)
          Get an adapter for the given collection name (relative to the base url), create a new one if newer created or wait until it gets available.
 void XindicePool.leaveAdapter(XindiceAdapter ad)
          Leave the adapter back to the pool.
 void XindicePool.close()
           
 

Constructors in org.backsource.xindice that throw XindiceException
XindiceAdapter(java.lang.String url, java.lang.String col)
           
 

Uses of XindiceException in org.backsource.xindice.cursor
 

Methods in org.backsource.xindice.cursor that throw XindiceException
 void BaseCursor.setSource(Cursor cursor)
           
protected abstract  void BaseCursor.swallow()
           
 void Cursor.setSource(Cursor cursor)
           
 void KeyCursor.swallow()
           
 void ResourceSetCursor.setSource(Cursor cursor)
          Throws an XindiceException if used!.
protected  void SortedCursor.swallow()
           
protected  java.lang.Object SortedCursor.getValue(org.xmldb.api.base.Resource res)
          This is the method that select wich element/attribute or other stuff to sort on, a typical candidate to owerride in sublcasses.
 



Copyright © 2003-2004 Backsource. All Rights Reserved.