Package gw.internal.gosu.parser
Class StaticPropertyInfo.StaticAccessor
- java.lang.Object
-
- gw.internal.gosu.parser.StaticPropertyInfo.StaticAccessor
-
- All Implemented Interfaces:
IPropertyAccessor
- Enclosing class:
- StaticPropertyInfo
private class StaticPropertyInfo.StaticAccessor extends java.lang.Object implements IPropertyAccessor
-
-
Constructor Summary
Constructors Modifier Constructor Description privateStaticAccessor(java.lang.String strGetter, java.lang.String strSetter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetValue(java.lang.Object ctx)Returns the value for a property given a "this" objectvoidsetValue(java.lang.Object ctx, java.lang.Object value)Sets the property to the given value for the ctx object
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue(java.lang.Object ctx)
Description copied from interface:IPropertyAccessorReturns the value for a property given a "this" object- Specified by:
getValuein interfaceIPropertyAccessor- Parameters:
ctx- the "this" pointer.- Returns:
- the value of the property for the ctx object
-
setValue
public void setValue(java.lang.Object ctx, java.lang.Object value)Description copied from interface:IPropertyAccessorSets the property to the given value for the ctx object- Specified by:
setValuein interfaceIPropertyAccessor- Parameters:
ctx- the "this" pointervalue- the new value
-
-