Xindice API
version 1.2m1

org.apache.xindice.client.xmldb
Class CommonConfigurable

java.lang.Object
  extended byorg.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 management within the API implementation.

Version:
$Revision: 564214 $, $Date: 2007-08-09 10:23:06 -0400 (Thu, 09 Aug 2007) $

Constructor Summary
CommonConfigurable()
          Constructor for the CommonConfigurable object
CommonConfigurable(CommonConfigurable commonConfigurable)
          Constructor for the CommonConfigurable object
 
Method Summary
 String getProperty(String name)
          Gets the property value associated with name
 void setProperty(String name, String value)
          Sets a property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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 name
value - The new Property value
Throws:
org.xmldb.api.base.XMLDBException - never

getProperty

public String getProperty(String name)
                   throws org.xmldb.api.base.XMLDBException
Gets the property value 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 - never

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.