org.apache.tapestry5.services
Interface FieldAccess


public interface FieldAccess

Used when accessing the private instance variables of a component instance.

Since:
5.2.0
See Also:
TransformField.getAccess()

Method Summary
 Object read(Object instance)
          Reads the value of the field of the provided instance.
 void write(Object instance, Object value)
          Updates the value of the field within the instance.
 

Method Detail

read

Object read(Object instance)
Reads the value of the field of the provided instance.

Parameters:
instance - object containing field to read

write

void write(Object instance,
           Object value)
Updates the value of the field within the instance.

Parameters:
instance - object containing field to update
value - new value for field


Copyright © 2003-2012 The Apache Software Foundation.