Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.xmldb.api.base.XMLDBException

Packages that use XMLDBException
org.basex.api.xmldb |
org.xmldb.api |
org.xmldb.api.base |
org.xmldb.api.modules |

Uses of XMLDBException in org.basex.api.xmldb

Methods in org.basex.api.xmldb that throw XMLDBException
`boolean` | `BXDatabase.acceptsURI(java.lang.String uri)`
`static Context` | `BXCollectionManagementService.create(java.lang.String name)` Creates a new collection and returns the context.
`Collection` | `BXCollectionManagementService.createCollection(java.lang.String name)` Creates a new collection.
`java.lang.String` | `BXCollection.createId()` Creates a random numeric id and check if it's not already contained in the database.
`Resource` | `BXCollection.createResource(java.lang.String id, java.lang.String type)`
`Collection` | `BXCollection.getChildCollection(java.lang.String name)`
`int` | `BXCollection.getChildCollectionCount()`
`Collection` | `BXDatabase.getCollection(java.lang.String uri, java.lang.String username, java.lang.String password)`
`java.lang.Object` | `BXXMLResource.getContent()`
`void` | `BXXMLResource.getContentAsSAX(org.xml.sax.ContentHandler handler)`
`java.lang.String` | `BXXMLResource.getDocumentId()`
`Resource` | `BXResourceSet.getMembersAsResource()`
`Collection` | `BXCollection.getParentCollection()`
`java.lang.String` | `BXCollection.getProperty(java.lang.String key)`
`Resource` | `BXResourceSet.getResource(long i)`
`Resource` | `BXCollection.getResource(java.lang.String id)`
`int` | `BXCollection.getResourceCount()`
`Service` | `BXCollection.getService(java.lang.String nm, java.lang.String ver)`
`Service[]` | `BXCollection.getServices()`
`java.lang.String[]` | `BXCollection.listChildCollections()`
`java.lang.String[]` | `BXCollection.listResources()`
`Resource` | `BXResourceIterator.nextResource()`
`ResourceSet` | `BXQueryService.query(java.lang.String query)`
`ResourceSet` | `BXQueryService.queryResource(java.lang.String id, java.lang.String query)`
`void` | `BXCollection.removeResource(Resource res)`
`void` | `BXXMLResource.setContent(java.lang.Object value)`
`void` | `BXXMLResource.setContentAsDOM(org.w3c.dom.Node cont)`
`void` | `BXQueryService.setNamespace(java.lang.String pre, java.lang.String uri)`
`void` | `BXQueryService.setProperty(java.lang.String nm, java.lang.String value)`
`void` | `BXCollectionManagementService.setProperty(java.lang.String nm, java.lang.String value)`
`void` | `BXDatabase.setProperty(java.lang.String key, java.lang.String value)`
`void` | `BXCollection.setProperty(java.lang.String key, java.lang.String val)` Be aware what you're doing here..
`void` | `BXCollection.storeResource(Resource res)`

Constructors in org.basex.api.xmldb that throw XMLDBException
`BXCollection(java.lang.String name)` Constructor to create a collection for the specified document.

Uses of XMLDBException in org.xmldb.api

Methods in org.xmldb.api that throw XMLDBException
`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.
`static void` | `DatabaseManager.registerDatabase(Database database)` Registers a new `Database` implementation with the `DatabaseManager`.

Uses of XMLDBException in org.xmldb.api.base

Methods in org.xmldb.api.base that throw XMLDBException
`boolean` | `Database.acceptsURI(java.lang.String uri)` acceptsURI determines whether this `Database` implementation can handle the URI.
`void` | `ResourceSet.addResource(Resource res)` Adds a `Resource` instance to the set.
`void` | `ResourceSet.clear()` Removes all `Resource` instances from the set.
`void` | `Collection.close()` Releases all resources consumed by the `Collection`.
`java.lang.String` | `Collection.createId()` Creates a new unique ID within the context of the `Collection`
`Resource` | `Collection.createResource(java.lang.String id, java.lang.String type)` Creates a new empty `Resource` with the provided id.
`Collection` | `Collection.getChildCollection(java.lang.String name)` Returns a `Collection` instance for the requested child collection if it exists.
`int` | `Collection.getChildCollectionCount()` Returns the number of child collections under this `Collection` or 0 if no child collections exist.
`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.
`java.lang.String` | `Database.getConformanceLevel()` Returns the XML:DB API Conformance level for the implementation.
`java.lang.Object` | `Resource.getContent()` Retrieves the content from the resource.
`java.lang.String` | `Resource.getId()` Returns the unique id for this `Resource` or null if the `Resource` is anonymous.
`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.
`java.lang.String` | `Service.getName()` Returns the name associated with the Service instance.
`java.lang.String` | `Collection.getName()` Returns the name associated with the Collection instance.
`java.lang.String` | `Database.getName()` Returns the name associated with the Database instance.
`Collection` | `Resource.getParentCollection()` Returns the `Collection` instance that this resource is associated with.
`Collection` | `Collection.getParentCollection()` Returns the parent collection for this collection or null if no parent collection exists.
`java.lang.String` | `Configurable.getProperty(java.lang.String name)` Returns the value of the property identified by `name`.
`Resource` | `ResourceSet.getResource(long index)` Returns the `Resource` instance stored at the index specified by index.
`Resource` | `Collection.getResource(java.lang.String id)` Retrieves a `Resource` from the database.
`int` | `Collection.getResourceCount()` Returns the number of resources currently stored in this collection or 0 if the collection is empty.
`java.lang.String` | `Resource.getResourceType()` Returns the resource type for this Resource.
`Service` | `Collection.getService(java.lang.String name, java.lang.String version)` Returns a `Service` instance for the requested service name and version.
`Service[]` | `Collection.getServices()` Provides a list of all services known to the collection.
`long` | `ResourceSet.getSize()` Returns the number of resources contained in the set.
`java.lang.String` | `Service.getVersion()` Gets the Version attribute of the Service object
`boolean` | `ResourceIterator.hasMoreResources()` Returns true as long as there are still more resources to be iterated.
`boolean` | `Collection.isOpen()` Returns true if the `Collection` is open false otherwise.
`java.lang.String[]` | `Collection.listChildCollections()` Returns a list of collection names naming all child collections of the current collection.
`java.lang.String[]` | `Collection.listResources()` Returns a list of the ids for all resources stored in the collection.
`Resource` | `ResourceIterator.nextResource()` Returns the next `Resource` instance in the iterator.
`void` | `ResourceSet.removeResource(long index)` Removes the Resource located at `index` from the set.
`void` | `Collection.removeResource(Resource res)` Removes the `Resource` from the database.
`void` | `Service.setCollection(Collection col)` Sets the Collection attribute of the Service object
`void` | `Resource.setContent(java.lang.Object value)` Sets the content for this resource.
`void` | `Configurable.setProperty(java.lang.String name, java.lang.String value)` Sets the property `name` to have the value provided in `value`.
`void` | `Collection.storeResource(Resource res)` Stores the provided resource into the database.

Uses of XMLDBException in org.xmldb.api.modules

Methods in org.xmldb.api.modules that throw XMLDBException
`void` | `TransactionService.begin()` Begin the transaction
`void` | `XPathQueryService.clearNamespaces()` Removes all namespace mappings stored in the internal namespace map.
`void` | `TransactionService.commit()` Commit the transaction
`Collection` | `CollectionManagementService.createCollection(java.lang.String name)` Creates a new `Collection` in the database.
`org.w3c.dom.Node` | `XMLResource.getContentAsDOM()` Returns the content of the `Resource` as a DOM Node.
`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.
`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.
`java.lang.String` | `XPathQueryService.getNamespace(java.lang.String prefix)` Returns the URI string associated with `prefix` from 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.
`void` | `CollectionManagementService.removeCollection(java.lang.String name)` Removes a named `Collection` from the system.
`void` | `XPathQueryService.removeNamespace(java.lang.String prefix)` Removes the namespace mapping associated with `prefix` from the internal namespace map.
`void` | `TransactionService.rollback()` Rollback the transaction
`void` | `XMLResource.setContentAsDOM(org.w3c.dom.Node content)` Sets the content of the `Resource` using a DOM Node as the source.
`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.
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES