Receive notification of character data inside an element.
Throws an exception if the collection is not open.
Removes all Resource
instances from the set.
Removes all Resource
instances from the set.
Removes all namespace mappings stored in the internal namespace map.
Removes all namespace mappings stored in the internal namespace map.
Releases all resources consumed by the Collection
.
Releases all resources consumed by the Collection
.
Releases all resources consumed by the Collection
.
A Collection
represents a collection of Resource
s
stored within an XML
database.
Set when an operation is invoked against a Collection
instance that has been closed.
A Collection
is implemented as a directory in the file system.
CollectionManagementService is a Service
that enables the basic
management of collections within a database.
CollectionManager provides management facilities for a Collection instance.
Creates a new CollectionManager service
Provides the ability to configure properties about an object.
The XML:DB API Core Level Conformance of this implementation.
Creates a new Collection
in the database.
Creates a simple collection with a basic default configuration.
Creates a new unique ID within the context of the Collection
Creates a new unique ID within the context of the Collection
Creates a new unique ID within the context of the Collection
Creates a new empty Resource
with the provided id.
Creates a new empty Resource
with the provided id.
Creates a new empty Resource
with the provided id.
Returns a Collection
instance for the requested child collection
if it exists.
Returns a Collection
instance for the requested child collection
if it exists.
Default behaviour for a non-hierarchical implementation
Returns the number of child collections under this
Collection
or 0 if no child collections exist.
Returns the number of child collections under this
Collection
.
Default behaviour for a non-hierarchical implementation
Retrieves a Collection
instance from the database for the
given URI.
Retrieves a Collection
instance based on the URI provided
in the uri
parameter.
Retrieves a Collection
instance based on the URI provided
in the uri
parameter.
Retrieves a Collection
instance from the database for the
given URI.
Retrieves a Collection
instance based on the URI provided
in the uri
parameter.
Returns the XML:DB API Conformance level for the implementation.
Returns the XML:DB API Conformance level for the implementation.
Returns the Core Level conformance value for the provided URI.
Retrieves the content from the resource.
Retrieves the content from the resource.
Retrieves the content from the resource.
Returns the content of the Resource
as a DOM Node.
Returns the content of the Resource
as a DOM Node.
Allows you to use a ContentHandler
to parse the XML data from
the database for use in an application.
Allows you to use a ContentHandler
to parse the XML data from
the database for use in an application.
Retrieves the registered Database
instance associated with the provided
URI.
Returns a list of all available Database
implementations
that have been registered with this DatabaseManager
.
Returns the ID for the parent document of this resource.
Returns the unique id for the parent document to this Resource
or null if the Resource
does not have a parent document.
Returns the unique id for this Resource or null if the resource is
anonymous.
Returns the unique id for this Resource
or null if the
Resource
is anonymous.
Returns an iterator over all Resource
instances stored in the set.
Returns an iterator over all Resource
instances stored in
the set.
Returns a Resource containing an XML representation of all resources
stored in the set.
Returns a Resource
containing an XML representation of all
resources stored in the set.
Returns a Resource containing an XML representation of all resources
stored in the set.
Returns the name associated with the Collection instance.
Returns the name of the collection
Returns the name of the Service
Returns the name associated with the Database instance.
Returns the name associated with the Service instance.
Returns the name associated with the Configurable object.
Returns the name associated with the Configurable object.
Returns the name associated with the Configurable object.
Returns the name associated with the Configurable object.
Returns the name associated with the Configurable object.
Returns the URI string associated with prefix
.
Returns the URI string associated with prefix
from
the internal namespace map.
Returns the Collection
instance that this resource is
associated with.
Returns the parent collection for this collection or null if no parent
collection exists.
Returns the parent collection for this collection or null if no parent
collection exists.
Returns the Collection
instance that this resource is
associated with.
Default behaviour for a non-hierarchical implementation
Returns the value of the property identified by name
.
Retrieves a property that has been set for the DatabaseManager
.
Returns the value of the property identified by name
.
Returns the Resource
instance stored at the index specified
by index.
Returns the
Resource
instance stored at the index specified
by
index
.
Retrieves a Resource
from the database.
Retrieves a Resource
from the database.
Retrieves a Resource
from the database.
Returns the number of resources currently stored in this collection or 0
if the collection is empty.
Returns the number of resources currently stored in this collection or 0
if the collection is empty.
Returns the number of resources currently stored in this collection or 0
if the collection is empty.
Returns the resource type for this Resource.
Returns the resource type for this Resource.
Returns the resource type for this Resource.
Returns a Service
instance for the requested service name and version.
Get a Service instance based on the name and version.
Provides a list of all services known to the collection.
Returns the list of Services supported by this Collection.
Returns the number of resources contained in the set.
Returns the number of resources contained in the set.
Returns the version of the Service
Gets the Version attribute of the Service object
Gets the Version attribute of the Service object
Returns the version of the Service
Gets the Version attribute of the Service object
Gets the Version attribute of the Service object
Registers a new Database
implementation with the
DatabaseManager
.
Registers a new Service with this Collection.
Removes a named Collection
from the system.
Removes the named collection from the system.
Removes the namespace mapping associated with prefix
.
Removes the namespace mapping associated with prefix
from
the internal namespace map.
Removes the Resource located at index
from the set.
Removes the Resource
located at index
from the
set.
Removes the Resource
from the database.
Removes the Resource
from the database.
Removes the Resource
from the database.
Resource
is a container for data stored within the database.
ResourceIterator is used to iterate over a set of resources.
ResourceSet is a container for a set of resources.
ResourceSet
contains a set of resources as returned from a query
or other operation.
The characters expected to separate the INSTANCE_NAME from the file system
path
The Service
interface provides an extension mechanism for
Collection
implementations.
Provides a reference to the XML:DB collection instance that this service
is associated with.
Sets the Collection attribute of the Service object
Sets the Collection attribute of the Service object
Sets the Collection attribute of the Service object
Sets the Collection attribute of the Service object
Sets the Collection attribute of the Service object
Sets the content for this resource.
Sets the content for this resource.
Sets the content for this resource.
Sets the content of the Resource
using a DOM Node as the
source.
Sets the content of the Resource
using a DOM Node as the
source.
Sets the content of the Resource
using a SAX
ContentHandler
.
Sets the content of the Resource
using a SAX
ContentHandler
.
Simple ContentHandler that just converts the SAX event stream into a text
representation of the document and stores it in the associated resource.
Sets a namespace mapping in the internal namespace map used to evaluate
queries.
Sets a namespace mapping in the internal namespace map used to evaluate
queries.
Sets the property name
to have the value provided in
value
.
Sets a property for the DatabaseManager
.
Sets the property name
to have the value provided in
value
.
Resource for encapsulation of binary data that is stored in the data base.
Create a new BinaryResource without any content.
Create a fully initialized BinaryResource
SimpleCollection provides an easy starting point for implementing the
Collection interface.
Provides the ability to configure properties about an object.
Simple
Database
implementation intended to be used as a base
class for a specific implementation.
Extending classes MUST set INSTANCE_NAME and SHOULD set CONFORMANCE_LEVEL to
values appropriate for their specific implementation.
ResourceIterator is used to iterate over a set of resources.
Provides a base ResourceSet implementation that utilizes a synchronized list
to contain the set of resources.
Provides the ability to bundle Collection
operations into a
transaction.
Provides access to XML resources stored in the database.
Create a new XMLResource without any content.
Create a fully initialized XMLResource
XPathQueryService is a Service
that enables the execution of
XPath queries within the context of a Collection
.
Receive notification of a skipped entity.
Receive notification of the beginning of the document.
Receive notification of the start of an element.
Receive notification of the start of a Namespace mapping.
Stores the provided resource into the database.
Stores the provided resource into the database.
Stores the provided resource into the database.
Removes the URI_PREFIX from the front of the URI.