Package gw.lang.reflect
Interface IPropertyAccessor
-
- All Known Implementing Classes:
ArrayExpansionPropertyInfo.ArrayExpansionAccessor,DynamicPropertyInfo,GosuPropertyInfo.GosuPropertyAccessor,GosuPropertyInfo.ReflectivePropertyAccessor,GosuVarPropertyInfo.VarPropertyAccessor,JavaFieldPropertyInfo.NonStaticAccessor,JavaFieldPropertyInfo.StaticAccessor,JavaPropertyInfo.PropertyAccessorAdaptor,LengthAccessor,MetaPropertyInfoDelegate.Accessor,PackagePropertyInfo.PackagePropertyAccessor,StaticPropertyInfo.StaticAccessor,TypePropertyInfo.MetaTypePropertyAccessor
public interface IPropertyAccessor
-
-
Method Summary
All Methods Instance Methods Abstract 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
java.lang.Object getValue(java.lang.Object ctx)
Returns the value for a property given a "this" object- Parameters:
ctx- the "this" pointer.- Returns:
- the value of the property for the ctx object
-
setValue
void setValue(java.lang.Object ctx, java.lang.Object value)Sets the property to the given value for the ctx object- Parameters:
ctx- the "this" pointervalue- the new value
-
-