org.xins.common.collections
Class BasicPropertyReader
java.lang.Object
org.xins.common.collections.AbstractPropertyReader
org.xins.common.collections.BasicPropertyReader
- All Implemented Interfaces:
- PropertyReader, Serializable
- public final class BasicPropertyReader
- extends AbstractPropertyReader
Modifiable implementation of a property reader.
- Since:
- XINS 1.0.0
- Version:
- $Revision: 1.9 $ $Date: 2006/08/28 09:12:31 $
- Author:
- Ernst de Haan
- See Also:
- Serialized Form
Method Summary |
void |
remove(String name)
Removes the specified property. |
void |
set(String name,
String value)
Sets the specified property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicPropertyReader
public BasicPropertyReader()
- Constructs a new
BasicPropertyReader
.
set
public void set(String name,
String value)
throws IllegalArgumentException
- Sets the specified property.
- Parameters:
name
- the name of the property to set or reset, cannot be
null
.value
- the value for the property, can be null
.
- Throws:
IllegalArgumentException
- if name == null
.
remove
public void remove(String name)
throws IllegalArgumentException
- Removes the specified property.
- Parameters:
name
- the name of the property to set or reset, cannot be
null
.
- Throws:
IllegalArgumentException
- if name == null
.
See http://www.xins.org/.