Class GosuPropertyInfo.GosuPropertyAccessor

java.lang.Object
gw.internal.gosu.parser.GosuPropertyInfo.GosuPropertyAccessor
All Implemented Interfaces:
IPropertyAccessor
Enclosing class:
GosuPropertyInfo

private class GosuPropertyInfo.GosuPropertyAccessor extends Object implements IPropertyAccessor
  • Constructor Details

    • GosuPropertyAccessor

      private GosuPropertyAccessor()
  • Method Details

    • getValue

      public Object getValue(Object ctx)
      Description copied from interface: IPropertyAccessor
      Returns the value for a property given a "this" object
      Specified by:
      getValue in interface IPropertyAccessor
      Parameters:
      ctx - the "this" pointer.
      Returns:
      the value of the property for the ctx object
    • setValue

      public void setValue(Object ctx, Object value)
      Description copied from interface: IPropertyAccessor
      Sets the property to the given value for the ctx object
      Specified by:
      setValue in interface IPropertyAccessor
      Parameters:
      ctx - the "this" pointer
      value - the new value