org.xmldb.api.sdk
Class SimpleConfigurable
java.lang.Object
|
+--org.xmldb.api.sdk.SimpleConfigurable
- All Implemented Interfaces:
- Configurable
- Direct Known Subclasses:
- SimpleCollection, SimpleDatabase, SimpleTransactionService, SimpleXPathQueryService, TransactionServiceImpl, XPathQueryServiceImpl
- public abstract class SimpleConfigurable
- extends java.lang.Object
- implements Configurable
Provides the ability to configure properties about an object.
|
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleConfigurable
public SimpleConfigurable()
getProperty
public java.lang.String getProperty(java.lang.String name)
throws XMLDBException
- Returns the value of the property identified by
name.
- Specified by:
getProperty in interface Configurable
- Parameters:
name - the name of the property to retrieve.- Returns:
- the property value or null if no property exists.
- Throws:
XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
setProperty
public void setProperty(java.lang.String name,
java.lang.String value)
throws XMLDBException
- Sets the property
name to have the value provided in
value.
- Specified by:
setProperty in interface Configurable
- Parameters:
name - the name of the property to set.value - the value to set for the property.- Throws:
XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
Copyright (c) 1999-2001 The dbXML Group, All rights reserved