org.ow2.petals.component.framework.api.configuration
Class ConfigurationExtensions
java.lang.Object
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions
- All Implemented Interfaces:
- Map<String,String>
public class ConfigurationExtensions
- extends Object
- implements Map<String,String>
The CDK component specific extended configuration. An instance of this object
is build with a List of DOM elements. The DOM elements correspond to the
defined elements in the CDK component specific XML schema.
The parameter are stored in a key/value form.
TODO : Refactor this class in a more elegant way
- Since:
- 1.0
- Author:
- rnaudin - EBM WebSourcing
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
ConfigurationExtensions
public ConfigurationExtensions(List<?> configurationElements,
String propertiesFilePath)
throws PEtALSCDKException
- Parameters:
configurationElements - propertiesFilePath -
- Throws:
PEtALSCDKException
ConfigurationExtensions
public ConfigurationExtensions(List<?> configurationElements)
- Parameters:
configurationElements -
clear
public void clear()
- Specified by:
clear in interface Map<String,String>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<String,String>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<String,String>
entrySet
public Set<Map.Entry<String,String>> entrySet()
- Specified by:
entrySet in interface Map<String,String>
get
public String get(Object key)
- Specified by:
get in interface Map<String,String>
get
public String get(Object key,
String defaultValue)
- Parameters:
key - defaultValue -
- Returns:
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<String,String>
keySet
public Set<String> keySet()
- Specified by:
keySet in interface Map<String,String>
put
public String put(String key,
String value)
- Specified by:
put in interface Map<String,String>
putAll
public void putAll(Map<? extends String,? extends String> map)
- (non-Javadoc)
- Specified by:
putAll in interface Map<String,String>
- See Also:
Map.putAll(java.util.Map)
remove
public String remove(Object key)
- Specified by:
remove in interface Map<String,String>
size
public int size()
- Specified by:
size in interface Map<String,String>
values
public Collection<String> values()
- Specified by:
values in interface Map<String,String>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.