gov.noaa.eds.xapi.generic
Class GenericConfigurable

java.lang.Object
  extended bygov.noaa.eds.xapi.generic.GenericConfigurable
All Implemented Interfaces:
org.xmldb.api.base.Configurable
Direct Known Subclasses:
GenericCollection, GenericDatabase, GenericResource, GenericXPathQueryService

public class GenericConfigurable
extends java.lang.Object
implements org.xmldb.api.base.Configurable

Base Implementation of Configurable.

Version:
$Id: GenericConfigurable.java,v 1.2 2004/12/23 22:26:01 mrxtravis Exp $
Author:
tns

Field Summary
protected  java.util.Hashtable properties
           
 
Constructor Summary
GenericConfigurable()
          Creates a new instance of ListProperties
 
Method Summary
 java.lang.String getProperty(java.lang.String prop)
          Retrieve a property value
 void setProperty(java.lang.String prop, java.lang.String value)
          Set a property value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

protected java.util.Hashtable properties
Constructor Detail

GenericConfigurable

public GenericConfigurable()
Creates a new instance of ListProperties

Method Detail

getProperty

public java.lang.String getProperty(java.lang.String prop)
Retrieve a property value

Specified by:
getProperty in interface org.xmldb.api.base.Configurable
Parameters:
prop - The property value to retrieve

setProperty

public void setProperty(java.lang.String prop,
                        java.lang.String value)
Set a property value

Specified by:
setProperty in interface org.xmldb.api.base.Configurable
Parameters:
prop - The property to set
value - The value of the property


Copyright © 2004 National Oceanic and Atmospheric Administration > National Geophysical Data Center > Enterprise Data Services Division. All Rights Reserved.