|
dbXML API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use XMLDBException | |
org.dbxml.client.xmldb | Implements the XML:DB API for use with dbXML data stores. |
org.dbxml.client.xmldb.resources | Implements the XMLResource type from the XML:DB API. |
org.dbxml.client.xmldb.services | Implements several XML:DB Services, including standard and extension services. |
org.dbxml.core | This is the top-level package for all dbXML Core functionality. |
org.xmldb.api | |
org.xmldb.api.base | |
org.xmldb.api.modules | |
org.xmldb.api.reference | |
org.xmldb.api.reference.modules | |
org.xmldb.api.sdk | |
org.xmldb.api.sdk.modules |
Uses of XMLDBException in org.dbxml.client.xmldb |
Methods in org.dbxml.client.xmldb that throw XMLDBException | |
void |
CommonConfigurable.setProperty(java.lang.String name,
java.lang.String value)
Sets a property value. |
java.lang.String |
CommonConfigurable.getProperty(java.lang.String name)
Gets the Property associated with name |
java.lang.String |
CollectionImpl.getName()
Returns the name of the Collection |
java.lang.String |
CollectionImpl.getCanonicalName()
Returns the fully qualified name of the Collection |
Service[] |
CollectionImpl.getServices()
Returns the list of Services supported by this Collection. |
Service |
CollectionImpl.getService(java.lang.String name,
java.lang.String version)
Get a Service instance based on the name and version. |
Collection |
CollectionImpl.getParentCollection()
Gets the ParentCollection for this Collection if one exists. |
int |
CollectionImpl.getChildCollectionCount()
Returns the number of child Collections |
java.lang.String[] |
CollectionImpl.listChildCollections()
Returns a list of Collection names naming all child collections of the current collection. |
Collection |
CollectionImpl.getChildCollection(java.lang.String name)
Returns a Collection instance for the requested child collection if it exists. |
int |
CollectionImpl.getResourceCount()
Returns the number of resources stored by this Collection |
java.lang.String[] |
CollectionImpl.listResources()
Returns a list of the ids for all resources stored in the collection. |
Resource |
CollectionImpl.getResource(java.lang.String id)
Retrieves the Resource identified by id from the repository. |
void |
CollectionImpl.registerService(Service service)
Registers a new Service with this Collection. |
Resource |
CollectionImpl.createResource(java.lang.String id,
java.lang.String type)
Creates a new Resource instance for storing data in the repository. |
void |
CollectionImpl.removeResource(Resource resource)
Removes the provided resource from the repository. |
void |
CollectionImpl.storeResource(Resource resource)
Stores the Resource in the repository |
java.lang.String |
CollectionImpl.createId()
|
void |
CollectionImpl.close()
The close method must be called when access to a collection is complete. |
boolean |
CollectionImpl.isOpen()
Returns true if the Collection is open false otherwise. |
boolean |
ResourceIteratorImpl.hasMoreResources()
|
Resource |
ResourceIteratorImpl.nextResource()
|
ResourceIterator |
ResourceSetImpl.getIterator()
Returns an iterator over all Resource instances stored in
the set. |
Resource |
ResourceSetImpl.getResource(long index)
Returns the Resource instance stored at the index specified
by index . |
long |
ResourceSetImpl.getSize()
Returns the number of resources contained in the set. |
void |
ResourceSetImpl.addResource(Resource res)
Adds a Resource instance to the set. |
void |
ResourceSetImpl.clear()
Removes all Resource instances from the set. |
void |
ResourceSetImpl.removeResource(long index)
Removes the Resource located at index from the
set. |
Resource |
ResourceSetImpl.getMembersAsResource()
Returns a Resource containing an XML representation of all
resources stored in the set. |
java.lang.String |
DatabaseImpl.getName()
Gets the instance Name |
Collection |
DatabaseImpl.getCollection(java.lang.String uri,
java.lang.String username,
java.lang.String password)
Creates a Collection instance using the URI to locate the collection in the dbXML instance. |
java.lang.String |
DatabaseImpl.getConformanceLevel()
Gets the ConformanceLevel attribute of the DatabaseImpl object |
boolean |
DatabaseImpl.acceptsURI(java.lang.String uri)
Used by org.xmldb.api.base.DatabaseManager to determine if this database instance is the proper one to handle a request or not. |
Constructors in org.dbxml.client.xmldb that throw XMLDBException | |
CollectionImpl(Collection collection,
Database db,
DatabaseImpl database)
Creates a new CollectionImpl for the XML:DB API Collection interface. |
|
ResourceSetImpl(Collection collection,
org.w3c.dom.Document doc)
|
|
ResourceSetImpl(Collection collection,
SymbolTable symbols,
byte[] bytes)
|
Uses of XMLDBException in org.dbxml.client.xmldb.resources |
Methods in org.dbxml.client.xmldb.resources that throw XMLDBException | |
java.lang.String |
XMLResourceImpl.getDocumentId()
Returns the unique id for the parent document to this Resource
or null if the Resource does not have a parent document. |
void |
XMLResourceImpl.setContent(java.lang.Object value)
Sets the Content attribute of the XMLResourceImpl object. |
void |
XMLResourceImpl.setContentAsDOM(org.w3c.dom.Node content)
Sets the content of the resource from a DOM Node. |
org.xml.sax.ContentHandler |
XMLResourceImpl.setContentAsSAX()
setContentAsSAX returns a SAX ContentHandler that can be used to set the content of the resource. |
Collection |
XMLResourceImpl.getParentCollection()
Gets the parent Collection instance for this resource |
java.lang.String |
XMLResourceImpl.getResourceType()
Returns the resource type for this Resource. |
java.lang.String |
XMLResourceImpl.getId()
Gets the Id attribute of the XMLResourceImpl object |
java.lang.Object |
XMLResourceImpl.getContent()
Gets the content of the XMLResourceImpl object |
org.w3c.dom.Node |
XMLResourceImpl.getContentAsDOM()
Returns the content of the resource as a DOM Node. |
void |
XMLResourceImpl.getContentAsSAX(org.xml.sax.ContentHandler handler)
getContentAsSAX enables retrieving of the content via the use of a SAX ContentHandler. |
Uses of XMLDBException in org.dbxml.client.xmldb.services |
Methods in org.dbxml.client.xmldb.services that throw XMLDBException | |
java.lang.String |
CollectionManager.getCollectionName()
Returns the name of the collection that this manager is associated with. |
java.lang.String |
CollectionManager.getCanonicalName()
Returns the fully qualified name of the collection that this manager is associated with. |
Collection |
CollectionManager.createCollection(java.lang.String path,
org.w3c.dom.Document configuration)
Creates a new collection in the database identified by name and using the provided configuration. |
void |
CollectionManager.dropCollection(java.lang.String name)
Drops a child collection from this collection. |
java.lang.String[] |
CollectionManager.listIndexers()
Returns a list of all indexers for this collection. |
void |
CollectionManager.createIndexer(org.w3c.dom.Document configuration)
Creates a new Indexer for this collection. |
void |
CollectionManager.dropIndexer(java.lang.String name)
Drops the indexer from the collection |
java.lang.String[] |
CollectionManager.listXMLObjects()
Returns a list of all collection level XMLObjects for this collection. |
void |
CollectionManager.createXMLObject(org.w3c.dom.Document configuration)
Creates a new collection level XMLObject using the provided configuration. |
void |
CollectionManager.dropXMLObject(java.lang.String name)
Drops a collection level XMLObject from the collection. |
Collection |
CollectionManager.createCollection(java.lang.String name)
Creates a simple collection with a basic default configuration. |
void |
CollectionManager.removeCollection(java.lang.String name)
Removes the named collection from the system. |
Resource |
XMLObjectService.invokeXMLObject(java.lang.String uri)
Invokes an XMLObject using the provided URI. |
void |
DatabaseInstanceManager.setCollection(Collection col)
Not used for the DatabaseInstanceManager service. |
java.lang.String |
DatabaseInstanceManager.getDatabaseName()
Returns the name of this database |
void |
DatabaseInstanceManager.shutdown()
Shutsdown the Database instance |
java.lang.String |
XPathQueryServiceImpl.getName()
|
java.lang.String |
XPathQueryServiceImpl.getVersion()
|
void |
XPathQueryServiceImpl.setCollection(Collection col)
|
void |
XPathQueryServiceImpl.setDefaultNamespace(java.lang.String uri)
|
void |
XPathQueryServiceImpl.setNamespace(java.lang.String prefix,
java.lang.String uri)
|
ResourceSet |
XPathQueryServiceImpl.query(java.lang.String query)
Executes an XPath query on the server. |
ResourceSet |
XPathQueryServiceImpl.queryResource(java.lang.String id,
java.lang.String query)
|
XMLResource |
XPathQueryServiceImpl.queryResult(java.lang.String query)
|
java.lang.String |
XUpdateQueryServiceImpl.getName()
|
java.lang.String |
XUpdateQueryServiceImpl.getVersion()
|
void |
XUpdateQueryServiceImpl.setCollection(Collection col)
|
XMLResource |
XUpdateQueryServiceImpl.updateResult(java.lang.String commands)
|
long |
XUpdateQueryServiceImpl.update(java.lang.String commands)
Runs a set of XUpdate operations against the collection. |
XMLResource |
XUpdateQueryServiceImpl.updateResourceResult(java.lang.String id,
java.lang.String commands)
|
long |
XUpdateQueryServiceImpl.updateResource(java.lang.String id,
java.lang.String commands)
Runs a set of XUpdate operations against a resource stored in a collection. |
Uses of XMLDBException in org.dbxml.core |
Methods in org.dbxml.core that return XMLDBException | |
static XMLDBException |
FaultCodes.createXMLDBException(java.lang.Exception e)
createXMLDBException creates an XMLDBException instance based on the specified Exception. |
Uses of XMLDBException in org.xmldb.api |
Methods in org.xmldb.api that throw XMLDBException | |
static void |
DatabaseManager.registerDatabase(Database database)
Registers a new Database implementation with the
DatabaseManager . |
static void |
DatabaseManager.deregisterDatabase(Database database)
Deregisters a Database implementation from the DatabaseManager . |
static Collection |
DatabaseManager.getCollection(java.lang.String uri)
Retrieves a Collection instance from the database for the
given URI. |
static Collection |
DatabaseManager.getCollection(java.lang.String uri,
java.lang.String username,
java.lang.String password)
Retrieves a Collection instance from the database for the
given URI. |
static java.lang.String |
DatabaseManager.getConformanceLevel(java.lang.String uri)
Returns the Core Level conformance value for the provided URI. |
Uses of XMLDBException in org.xmldb.api.base |
Methods in org.xmldb.api.base that throw XMLDBException | |
Resource |
ResourceSet.getResource(long index)
Returns the Resource instance stored at the index specified
by index. |
void |
ResourceSet.addResource(Resource res)
Adds a Resource instance to the set. |
void |
ResourceSet.removeResource(long index)
Removes the Resource located at index from the set. |
ResourceIterator |
ResourceSet.getIterator()
Returns an iterator over all Resource instances stored in the set. |
Resource |
ResourceSet.getMembersAsResource()
Returns a Resource containing an XML representation of all resources stored in the set. |
long |
ResourceSet.getSize()
Returns the number of resources contained in the set. |
void |
ResourceSet.clear()
Removes all Resource instances from the set. |
java.lang.String |
Service.getName()
Returns the name associated with the Service instance. |
java.lang.String |
Service.getVersion()
Gets the Version attribute of the Service object |
void |
Service.setCollection(Collection col)
Sets the Collection attribute of the Service object |
boolean |
ResourceIterator.hasMoreResources()
Returns true as long as there are still more resources to be iterated. |
Resource |
ResourceIterator.nextResource()
Returns the next Resource instance in the iterator. |
java.lang.String |
Database.getName()
Returns the name associated with the Database instance. |
Collection |
Database.getCollection(java.lang.String uri,
java.lang.String username,
java.lang.String password)
Retrieves a Collection instance based on the URI provided
in the uri parameter. |
boolean |
Database.acceptsURI(java.lang.String uri)
acceptsURI determines whether this Database implementation
can handle the URI. |
java.lang.String |
Database.getConformanceLevel()
Returns the XML:DB API Conformance level for the implementation. |
Collection |
Resource.getParentCollection()
Returns the Collection instance that this resource is
associated with. |
java.lang.String |
Resource.getId()
Returns the unique id for this Resource or null if the
Resource is anonymous. |
java.lang.String |
Resource.getResourceType()
Returns the resource type for this Resource. |
java.lang.Object |
Resource.getContent()
Retrieves the content from the resource. |
void |
Resource.setContent(java.lang.Object value)
Sets the content for this resource. |
java.lang.String |
Collection.getName()
Returns the name associated with the Collection instance. |
Service[] |
Collection.getServices()
Provides a list of all services known to the collection. |
Service |
Collection.getService(java.lang.String name,
java.lang.String version)
Returns a Service instance for the requested service name and version. |
Collection |
Collection.getParentCollection()
Returns the parent collection for this collection or null if no parent collection exists. |
int |
Collection.getChildCollectionCount()
Returns the number of child collections under this Collection or 0 if no child collections exist. |
java.lang.String[] |
Collection.listChildCollections()
Returns a list of collection names naming all child collections of the current collection. |
Collection |
Collection.getChildCollection(java.lang.String name)
Returns a Collection instance for the requested child collection
if it exists. |
int |
Collection.getResourceCount()
Returns the number of resources currently stored in this collection or 0 if the collection is empty. |
java.lang.String[] |
Collection.listResources()
Returns a list of the ids for all resources stored in the collection. |
Resource |
Collection.createResource(java.lang.String id,
java.lang.String type)
Creates a new empty Resource with the provided id. |
void |
Collection.removeResource(Resource res)
Removes the Resource from the database. |
void |
Collection.storeResource(Resource res)
Stores the provided resource into the database. |
Resource |
Collection.getResource(java.lang.String id)
Retrieves a Resource from the database. |
java.lang.String |
Collection.createId()
Creates a new unique ID within the context of the Collection |
boolean |
Collection.isOpen()
Returns true if the Collection is open false otherwise. |
void |
Collection.close()
Releases all resources consumed by the Collection . |
java.lang.String |
Configurable.getProperty(java.lang.String name)
Returns the value of the property identified by name . |
void |
Configurable.setProperty(java.lang.String name,
java.lang.String value)
Sets the property name to have the value provided in
value . |
Uses of XMLDBException in org.xmldb.api.modules |
Methods in org.xmldb.api.modules that throw XMLDBException | |
java.lang.String |
XMLResource.getDocumentId()
Returns the unique id for the parent document to this Resource
or null if the Resource does not have a parent document. |
org.w3c.dom.Node |
XMLResource.getContentAsDOM()
Returns the content of the Resource as a DOM Node. |
void |
XMLResource.setContentAsDOM(org.w3c.dom.Node content)
Sets the content of the Resource using a DOM Node as the
source. |
void |
XMLResource.getContentAsSAX(org.xml.sax.ContentHandler handler)
Allows you to use a ContentHandler to parse the XML data from
the database for use in an application. |
org.xml.sax.ContentHandler |
XMLResource.setContentAsSAX()
Sets the content of the Resource using a SAX
ContentHandler . |
void |
XPathQueryService.setNamespace(java.lang.String prefix,
java.lang.String uri)
Sets a namespace mapping in the internal namespace map used to evaluate queries. |
java.lang.String |
XPathQueryService.getNamespace(java.lang.String prefix)
Returns the URI string associated with prefix from
the internal namespace map. |
void |
XPathQueryService.removeNamespace(java.lang.String prefix)
Removes the namespace mapping associated with prefix from
the internal namespace map. |
void |
XPathQueryService.clearNamespaces()
Removes all namespace mappings stored in the internal namespace map. |
ResourceSet |
XPathQueryService.query(java.lang.String query)
Run an XPath query against the Collection . |
ResourceSet |
XPathQueryService.queryResource(java.lang.String id,
java.lang.String query)
Run an XPath query against an XML resource stored in the Collection associated with this service. |
long |
XUpdateQueryService.update(java.lang.String commands)
Runs a set of XUpdate operations against the collection. |
long |
XUpdateQueryService.updateResource(java.lang.String id,
java.lang.String commands)
Runs a set of XUpdate operations against a resource stored in a collection. |
Collection |
CollectionManagementService.createCollection(java.lang.String name)
Creates a new Collection in the database. |
void |
CollectionManagementService.removeCollection(java.lang.String name)
Removes a named Collection from the system. |
void |
TransactionService.begin()
Begin the transaction |
void |
TransactionService.commit()
Commit the transaction |
void |
TransactionService.rollback()
Rollback the transaction |
Uses of XMLDBException in org.xmldb.api.reference |
Methods in org.xmldb.api.reference that throw XMLDBException | |
Collection |
DatabaseImpl.getCollection(java.lang.String uri)
Retrieves a Collection instance based on the URI provided
in the uri parameter. |
boolean |
ResourceIteratorImpl.hasMoreResources()
Returns true as long as there are still more resources to be iterated. |
Resource |
ResourceIteratorImpl.nextResource()
Returns the next Resource instance in the iterator. |
java.lang.String |
CollectionImpl.getName()
Returns the name of the collection |
Collection |
CollectionImpl.getParentCollection()
Returns the parent collection for this collection or null if no parent collection exists. |
int |
CollectionImpl.getChildCollectionCount()
Returns the number of child collections under this Collection . |
java.lang.String[] |
CollectionImpl.listChildCollections()
Returns a list of collection names naming all child collections of the current collection. |
Collection |
CollectionImpl.getChildCollection(java.lang.String name)
Returns a Collection instance for the requested child collection
if it exists. |
int |
CollectionImpl.getResourceCount()
Returns the number of resources currently stored in this collection or 0 if the collection is empty. |
java.lang.String[] |
CollectionImpl.listResources()
Returns a list of the ids for all resources stored in the collection. |
Resource |
CollectionImpl.createResource(java.lang.String id,
java.lang.String type)
Creates a new empty Resource with the provided id. |
void |
CollectionImpl.removeResource(Resource res)
Removes the Resource from the database. |
void |
CollectionImpl.storeResource(Resource res)
Stores the provided resource into the database. |
Resource |
CollectionImpl.getResource(java.lang.String id)
Retrieves a Resource from the database. |
java.lang.String |
CollectionImpl.createId()
Creates a new unique ID within the context of the Collection |
void |
CollectionImpl.close()
Releases all resources consumed by the Collection . |
Uses of XMLDBException in org.xmldb.api.reference.modules |
Methods in org.xmldb.api.reference.modules that throw XMLDBException | |
java.lang.String |
XPathQueryServiceImpl.getName()
Returns the name associated with the Configurable object. |
java.lang.String |
XPathQueryServiceImpl.getVersion()
Gets the Version attribute of the Service object |
void |
XPathQueryServiceImpl.setCollection(Collection col)
Sets the Collection attribute of the Service object |
ResourceIterator |
XPathQueryServiceImpl.query(java.lang.String query)
Run an XPath query againt the Collection . |
java.lang.String |
TransactionServiceImpl.getName()
Returns the name associated with the Configurable object. |
java.lang.String |
TransactionServiceImpl.getVersion()
Gets the Version attribute of the Service object |
void |
TransactionServiceImpl.setCollection(Collection col)
Sets the Collection attribute of the Service object |
void |
TransactionServiceImpl.begin()
Begin the transaction |
void |
TransactionServiceImpl.commit()
Commit the transaction |
void |
TransactionServiceImpl.rollback()
Rollback the transaction |
Uses of XMLDBException in org.xmldb.api.sdk |
Methods in org.xmldb.api.sdk that throw XMLDBException | |
java.lang.String |
SimpleConfigurable.getProperty(java.lang.String name)
Returns the value of the property identified by name . |
void |
SimpleConfigurable.setProperty(java.lang.String name,
java.lang.String value)
Sets the property name to have the value provided in
value . |
java.lang.String |
SimpleDatabase.getName()
Returns the name associated with the Configurable object. |
Collection |
SimpleDatabase.getCollection(java.lang.String uri)
Retrieves a Collection instance based on the URI provided
in the uri parameter. |
boolean |
SimpleDatabase.acceptsURI(java.lang.String uri)
acceptsURI determines whether this Database implementation
can handle the URI. |
java.lang.String |
SimpleDatabase.getConformanceLevel()
Returns the XML:DB API Conformance level for the implementation. |
boolean |
SimpleResourceIterator.hasMoreResources()
Returns true as long as there are still more resources to be iterated. |
Resource |
SimpleResourceIterator.nextResource()
Returns the next Resource instance in the iterator. |
java.lang.String |
SimpleCollection.getName()
Returns the name associated with the Configurable object. |
Service[] |
SimpleCollection.getServices()
Returns the list of Services supported by this Collection. |
Service |
SimpleCollection.getService(java.lang.String name,
java.lang.String version)
Get a Service instance based on the name and version. |
void |
SimpleCollection.registerService(Service service)
Registers a new Service with this Collection. |
Collection |
SimpleCollection.getParentCollection()
Returns the parent collection for this collection or null if no parent collection exists. |
int |
SimpleCollection.getChildCollectionCount()
Returns the number of child collections under this Collection or 0 if no child collections exist. |
java.lang.String[] |
SimpleCollection.listChildCollections()
Returns a list of collection names naming all child collections of the current collection. |
Collection |
SimpleCollection.getChildCollection(java.lang.String name)
Returns a Collection instance for the requested child collection
if it exists. |
int |
SimpleCollection.getResourceCount()
Returns the number of resources currently stored in this collection or 0 if the collection is empty. |
java.lang.String[] |
SimpleCollection.listResources()
Returns a list of the ids for all resources stored in the collection. |
Resource |
SimpleCollection.createResource(java.lang.String id,
java.lang.String type)
Creates a new empty Resource with the provided id. |
void |
SimpleCollection.removeResource(Resource res)
Removes the Resource from the database. |
void |
SimpleCollection.storeResource(Resource res)
Stores the provided resource into the database. |
Resource |
SimpleCollection.getResource(java.lang.String id)
Retrieves a Resource from the database. |
java.lang.String |
SimpleCollection.createId()
Creates a new unique ID within the context of the Collection |
void |
SimpleCollection.close()
Releases all resources consumed by the Collection . |
Uses of XMLDBException in org.xmldb.api.sdk.modules |
Methods in org.xmldb.api.sdk.modules that throw XMLDBException | |
Collection |
BaseResource.getParentCollection()
Returns the Collection instance that this resource is
associated with. |
java.lang.String |
BaseResource.getId()
Returns the unique id for this Resource or null if the resource is anonymous. |
java.lang.String |
SimpleXMLResource.getResourceType()
Returns the resource type for this Resource. |
java.lang.Object |
SimpleXMLResource.getContent()
Retrieves the content from the resource. |
void |
SimpleXMLResource.setContent(java.lang.Object value)
Sets the content for this resource. |
org.w3c.dom.Node |
SimpleXMLResource.getContentAsDOM()
Returns the content of the Resource as a DOM Node. |
void |
SimpleXMLResource.setContentAsDOM(org.w3c.dom.Node content)
Sets the content of the Resource using a DOM Node as the
source. |
void |
SimpleXMLResource.getContentAsSAX(org.xml.sax.ContentHandler handler)
Allows you to use a ContentHandler to parse the XML data from
the database for use in an application. |
org.xml.sax.ContentHandler |
SimpleXMLResource.setContentAsSAX()
Sets the content of the Resource using a SAX
ContentHandler . |
java.lang.String |
SimpleBinaryResource.getResourceType()
Returns the resource type for this Resource. |
java.lang.Object |
SimpleBinaryResource.getContent()
Retrieves the content from the resource. |
void |
SimpleBinaryResource.setContent(java.lang.Object value)
Sets the content for this resource. |
java.lang.String |
SimpleTransactionService.getName()
Returns the name associated with the Configurable object. |
java.lang.String |
SimpleTransactionService.getVersion()
Gets the Version attribute of the Service object |
void |
SimpleTransactionService.setCollection(Collection col)
Sets the Collection attribute of the Service object |
void |
SimpleTransactionService.begin()
Begin the transaction |
void |
SimpleTransactionService.commit()
Commit the transaction |
void |
SimpleTransactionService.rollback()
Rollback the transaction |
java.lang.String |
SimpleXPathQueryService.getName()
Returns the name associated with the Configurable object. |
java.lang.String |
SimpleXPathQueryService.getVersion()
Gets the Version attribute of the Service object |
void |
SimpleXPathQueryService.setCollection(Collection col)
Sets the Collection attribute of the Service object |
ResourceIterator |
SimpleXPathQueryService.query(java.lang.String query)
Run an XPath query againt the Collection . |
|
dbXML API | |||||||||
PREV NEXT | FRAMES NO FRAMES |