org.xmldb.api.base
Interface Configurable
- Collection, CollectionManagementService, Database, Service, TransactionService, XPathQueryService, XUpdateQueryService
- CollectionImpl, CollectionManagementServiceImpl, DatabaseImpl, SimpleCollection, SimpleConfigurable, SimpleDatabase, SimpleTransactionService, SimpleXPathQueryService, TransactionServiceImpl, XPathQueryServiceImpl
public interface Configurable
Provides the ability to configure properties about an object.
String | getProperty(String name)- Returns the value of the property identified by
name.
|
void | setProperty(String name, String value)- Sets the property
name to have the value provided in
value.
|
getProperty
public String getProperty(String name)
throws XMLDBException Returns the value of the property identified by name.
name - the name of the property to retrieve.
- the property value or null if no property exists.
XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
setProperty
public void setProperty(String name,
String value)
throws XMLDBException Sets the property name to have the value provided in
value.
name - the name of the property to set.value - the value to set for the property.
XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.