|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.property.LocalPropertyStack
public class LocalPropertyStack
A stack of local property maps. There is a map for each scope (target, sequential, macro).
Constructor Summary | |
---|---|
LocalPropertyStack()
|
Method Summary | |
---|---|
void |
addLocal(java.lang.String property)
Add a local property. |
LocalPropertyStack |
copy()
Copy the stack for a parallel thread. |
void |
enterScope()
Enter the local scope. |
java.lang.Object |
evaluate(java.lang.String property,
PropertyHelper helper)
Evaluate a property. |
void |
exitScope()
Exit the local scope. |
boolean |
set(java.lang.String property,
java.lang.Object value,
PropertyHelper propertyHelper)
Set a property. |
boolean |
setNew(java.lang.String property,
java.lang.Object value,
PropertyHelper propertyHelper)
Set a *new" property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalPropertyStack()
Method Detail |
---|
public void addLocal(java.lang.String property)
property
- the name of the local proeprty.public void enterScope()
public void exitScope()
public LocalPropertyStack copy()
public java.lang.Object evaluate(java.lang.String property, PropertyHelper helper)
property
- the property's String "identifier".helper
- the invoking PropertyHelper.
public boolean setNew(java.lang.String property, java.lang.Object value, PropertyHelper propertyHelper)
property
- the property's String "identifier".value
- the value to set.propertyHelper
- the invoking PropertyHelper.
public boolean set(java.lang.String property, java.lang.Object value, PropertyHelper propertyHelper)
property
- the property's String "identifier".value
- the value to set.propertyHelper
- the invoking PropertyHelper.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |