org.apache.xindice.client.xmldb
Class CommonConfigurable
java.lang.Object
|
+--org.apache.xindice.client.xmldb.CommonConfigurable
- All Implemented Interfaces:
- org.xmldb.api.base.Configurable
- Direct Known Subclasses:
- CollectionManagementServiceImpl, DatabaseImpl, DatabaseImpl, DatabaseImpl, MetaService, QueryService, XindiceCollection
- public abstract class CommonConfigurable
- extends Object
- implements org.xmldb.api.base.Configurable
Base class to handle property managment within the API implementation.
- Version:
- $Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
config
protected Hashtable config
CommonConfigurable
public CommonConfigurable()
- Constructor for the CommonConfigurable object
CommonConfigurable
public CommonConfigurable(CommonConfigurable commonConfigurable)
- Constructor for the CommonConfigurable object
- Parameters:
commonConfigurable
- from which the initial properties for this
object are copied.
setProperty
public void setProperty(String name,
String value)
throws org.xmldb.api.base.XMLDBException
- Sets a property value. If the property doesn't exist it is created, if it
does exist it is overwritten.
- Specified by:
setProperty
in interface org.xmldb.api.base.Configurable
- Parameters:
name
- The Property namevalue
- The new Property value- Throws:
org.xmldb.api.base.XMLDBException
-
getProperty
public String getProperty(String name)
throws org.xmldb.api.base.XMLDBException
- Gets the Property associated with name
- Specified by:
getProperty
in interface org.xmldb.api.base.Configurable
- Parameters:
name
- The name of the property to retrieve.- Returns:
- The Property value
- Throws:
org.xmldb.api.base.XMLDBException
-
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.