|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xmldb.api.sdk.SimpleConfigurable
public abstract class SimpleConfigurable
Provides the ability to configure properties about an object.
Constructor Summary | |
---|---|
SimpleConfigurable()
|
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleConfigurable()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |