org.apache.cocoon.framework
Class Configurations

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--org.apache.cocoon.framework.Configurations

public class Configurations
extends java.util.Properties

This class encapsulates all the configurations needed by a Configurable class to work.

Version:
$Revision: 1.1 $ $Date: 1999/03/22 23:50:06 $
Author:
Stefano Mazzocchi
See Also:
Serialized Form

Fields inherited from class java.util.Properties
defaults, hexDigit, keyValueSeparators, serialVersionUID, specialSaveChars, strictKeyValueSeparators, whiteSpaceChars
 
Fields inherited from class java.util.Hashtable
count, ENTRIES, entrySet, KEYS, keySet, loadFactor, modCount, serialVersionUID, table, threshold, values, VALUES
 
Constructor Summary
Configurations()
          Create the class with empty defaults.
Configurations(Configurations c)
          Create the class with given defaults.
 
Method Summary
 java.lang.Object get(java.lang.String key)
          Get the configuration.
 Configurations getConfigurations(java.lang.String base)
          Create a subconfiguration starting from the base node.
 void set(java.lang.String key, java.lang.Object value)
          Set the configuration.
 
Methods inherited from class java.util.Properties
, continueLine, enumerate, getProperty, getProperty, list, list, load, loadConvert, propertyNames, save, saveConvert, setProperty, store, toHex, writeln
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, readObject, rehash, remove, size, toString, values, writeObject
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

Configurations

public Configurations()
Create the class with empty defaults.

Configurations

public Configurations(Configurations c)
Create the class with given defaults.
Method Detail

set

public void set(java.lang.String key,
                java.lang.Object value)
Set the configuration.

get

public java.lang.Object get(java.lang.String key)
Get the configuration.

getConfigurations

public Configurations getConfigurations(java.lang.String base)
Create a subconfiguration starting from the base node.

Copyright (c) 1998 The Java Apache Project