org.xmldb.api.sdk
public abstract class SimpleConfigurable extends java.lang.Object implements Configurable
Constructor and Description |
---|
SimpleConfigurable() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProperty(java.lang.String name)
Returns the value of the property identified by
name . |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the property
name to have the value provided in
value . |
public java.lang.String getProperty(java.lang.String name) throws XMLDBException
name
.getProperty
in interface Configurable
name
- the name of the property to retrieve.XMLDBException
- with expected error codes.ErrorCodes.VENDOR_ERROR
for any vendor
specific errors that occur.public void setProperty(java.lang.String name, java.lang.String value) throws XMLDBException
name
to have the value provided in
value
.setProperty
in interface Configurable
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.