public class BasePropertyHolder extends java.lang.Object implements IPropertyHolder
IPropertyHolder interface.| Constructor and Description |
|---|
BasePropertyHolder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProperty(java.lang.String name)
Retrieves the named property, or null if the property is not defined.
|
java.util.List |
getPropertyNames()
Returns a List of Strings, the names of all
properties held by the receiver.
|
void |
removeProperty(java.lang.String name)
Removes the named property, if present.
|
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets a named property.
|
public BasePropertyHolder()
public java.lang.String getProperty(java.lang.String name)
IPropertyHoldergetProperty in interface IPropertyHolderpublic void setProperty(java.lang.String name, java.lang.String value)
IPropertyHoldersetProperty in interface IPropertyHolderpublic void removeProperty(java.lang.String name)
IPropertyHolderremoveProperty in interface IPropertyHolderpublic java.util.List getPropertyNames()
IPropertyHolderPrior to release 2.2, this method returned Collection.
getPropertyNames in interface IPropertyHolder