|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectthinkmap.expression.runtime.PropertyHandler
public class PropertyHandler
Concrete implementation of the IPropertyHandler interface.
| Field Summary | |
|---|---|
protected IPropertyHandler |
parent
|
| Constructor Summary | |
|---|---|
PropertyHandler()
Construct a PropertyHandler without a parent. |
|
| Method Summary | |
|---|---|
void |
copyTo(IPropertyHandler ph)
Copy the local properties of this PropertyHandler to another property handler. |
Object |
getLocalProperty(String sPropName)
|
Enumeration |
getLocalPropertyNames()
Returns an Enumeration of the names of all properties currently defined in this PropertyHandler. |
IPropertyHandler |
getNextPropertyHandler()
|
Object |
getProperty(String sPropName)
Returns the value of the property named by the sPropName argument. |
Enumeration |
getPropertyNames()
Returns an Enumeration of the names of all properties currently defined in this PropertyHandler and all "parent" property handlers. |
static void |
main(String[] args)
|
void |
propertyUpdated(IPropertyHandler handler,
String property)
|
void |
removeProperty(String sPropName)
Removes the named property from this IPropertyHandler |
protected void |
setCaching(boolean b)
|
void |
setProperty(String sPropName,
Object oValue)
Sets the value of the property with the given name to the given value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IPropertyHandler parent
| Constructor Detail |
|---|
public PropertyHandler()
| Method Detail |
|---|
public static void main(String[] args)
public IPropertyHandler getNextPropertyHandler()
public final Object getProperty(String sPropName)
IPropertyHandler
getProperty in interface IPropertyHandlersPropName - the name of the property whose value is to be returned
public Object getLocalProperty(String sPropName)
public void setProperty(String sPropName,
Object oValue)
IPropertyHandler
setProperty in interface IPropertyHandlersPropName - the name of the property whose value is to be setoValue - the value that the property will be set topublic void removeProperty(String sPropName)
IPropertyHandler
removeProperty in interface IPropertyHandlersPropName - the name of the property to be removedpublic Enumeration getLocalPropertyNames()
public Enumeration getPropertyNames()
IPropertyHandler
getPropertyNames in interface IPropertyHandler
public void propertyUpdated(IPropertyHandler handler,
String property)
public final void copyTo(IPropertyHandler ph)
ph - the PropertyHandler to write to.protected void setCaching(boolean b)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||