|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.webmacro.engine.Variable
org.webmacro.engine.ConstantPropertyVariable
Operate on bean properties of a compile-time constant
| Field Summary |
| Fields inherited from class org.webmacro.engine.Variable |
_names, _vname, LOCAL_TYPE, PROPERTY_TYPE |
| Method Summary | |
java.lang.Object |
getValue(Context context)
Look up my value in the corresponding Map, possibly using introspection, and return it |
void |
setValue(Context context,
java.lang.Object newValue)
Look up my the value of this variable in the specified Map, possibly using introspection, and set it to the supplied value. |
java.lang.String |
toString()
Return a string representation naming the variable for debugging purposes. |
| Methods inherited from class org.webmacro.engine.Variable |
accept, evaluate, getName, getPropertyNames, getVariableName, isSimpleName, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public final java.lang.Object getValue(Context context)
throws PropertyException
getValue in class VariablePropertyException - If the property does not exist
public final void setValue(Context context,
java.lang.Object newValue)
throws PropertyException
setValue in class VariablePropertyException - If the property does not existpublic final java.lang.String toString()
toString in class Variable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||