org.xmldb.api.reference.modules
public class CollectionManagementServiceImpl extends SimpleConfigurable implements CollectionManagementService
Field Summary | |
---|---|
protected String | basePath |
protected Collection | collection |
Constructor Summary | |
---|---|
CollectionManagementServiceImpl(String basePath)
Creates a new CollectionManager service |
Method Summary | |
---|---|
Collection | createCollection(String name)
Creates a simple collection with a basic default configuration. |
String | getName()
Returns the name of the Service
|
String | getVersion()
Returns the version of the Service
|
void | removeCollection(String name)
Removes the named collection from the system. |
void | setCollection(Collection col)
Provides a reference to the XML:DB collection instance that this service
is associated with.
|
Returns: the name of the Service
Returns: the version of the Service
Parameters: col the XML:DB collection instance associated with this Service